diff options
Diffstat (limited to 'src/game-server/quest.cpp')
-rw-r--r-- | src/game-server/quest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/quest.cpp b/src/game-server/quest.cpp index c28a4213..d6d7d92d 100644 --- a/src/game-server/quest.cpp +++ b/src/game-server/quest.cpp @@ -82,12 +82,11 @@ void QuestRefCallback::triggerCallback(Character *ch, return; Script *s = ScriptManager::currentState(); - s->setMap(ch->getMap()); s->prepare(mRef); s->push(ch); s->push(mQuestName); s->push(value); - s->execute(); + s->execute(ch->getMap()); } static void partialRemove(Entity *t) |