diff options
Diffstat (limited to 'src/script_system.cpp')
-rw-r--r-- | src/script_system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_system.cpp b/src/script_system.cpp index d8d93e3..e388c6e 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp | |||
@@ -88,8 +88,8 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { | |||
88 | 88 | ||
89 | engine_.set_function( | 89 | engine_.set_function( |
90 | "loadMap", | 90 | "loadMap", |
91 | [&] (std::string filename, std::string warpPoint) { | 91 | [&] (std::string filename, std::string warpPoint, Direction dir) { |
92 | game_.loadMap(filename, warpPoint); | 92 | game_.loadMap(filename, warpPoint, dir); |
93 | }); | 93 | }); |
94 | 94 | ||
95 | engine_.set_function( | 95 | engine_.set_function( |