diff options
-rw-r--r-- | src/game-server/monster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index 1c4f39b..d5de45e 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -105,6 +105,7 @@ void MonsterComponent::update(Entity &entity) Script *script = ScriptManager::currentState(); script->prepare(mSpecy->getUpdateCallback()); script->push(&entity); + script->push(GameState::getCurrentTick()); script->execute(entity.getMap()); } } |