summaryrefslogtreecommitdiffstats
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index 20b4fea..fc909c0 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -438,6 +438,7 @@ void Being::update()
if (it->second.time <= 0 || mAction == DEAD)
{
mStatus.erase(it);
+ it = mStatus.begin();
}
it++;
}