diff options
| author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-10 14:17:38 +0000 |
|---|---|---|
| committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-10 14:17:38 +0000 |
| commit | f990980f80ab1523086edba1bed222741d716fa0 (patch) | |
| tree | 0ce0257ca854ea06949f543227a301a7f553e1a9 /src/game-server/testing.cpp | |
| parent | cb45a65e1020bf129225dd20c57bf64314cef2c8 (diff) | |
Improved helper functions for Lua scripts. Associated scripts to maps.
Diffstat (limited to 'src/game-server/testing.cpp')
| -rw-r--r-- | src/game-server/testing.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |
