From 2c81361cc9d61dcf5050268157b3e7e92043b740 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 10 Feb 2021 18:18:47 -0500 Subject: loadMap requires a direction now, so party trails are set up correctly --- src/script_system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/script_system.cpp') 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) { engine_.set_function( "loadMap", - [&] (std::string filename, std::string warpPoint) { - game_.loadMap(filename, warpPoint); + [&] (std::string filename, std::string warpPoint, Direction dir) { + game_.loadMap(filename, warpPoint, dir); }); engine_.set_function( -- cgit 1.4.1