summaryrefslogtreecommitdiff
path: root/src/game-server/testing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/testing.cpp')
-rw-r--r--src/game-server/testing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp
index d08f2ee6..7b34d79a 100644
--- a/src/game-server/testing.cpp
+++ b/src/game-server/testing.cpp
@@ -39,6 +39,7 @@ void testingMap(MapComposite *map)
Script *s = Script::create("lua", "test.lua");
if (s)
{
+ map->setScript(s);
s->setMap(map);
s->prepare("initialize");
s->execute();