From f990980f80ab1523086edba1bed222741d716fa0 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Fri, 10 Aug 2007 14:17:38 +0000 Subject: Improved helper functions for Lua scripts. Associated scripts to maps. --- src/game-server/testing.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game-server/testing.cpp') diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp index d08f2ee..7b34d79 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(); -- cgit