summary refs log tree commit diff stats
path: root/src/script_system.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-10 18:18:47 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-10 18:18:47 -0500
commit2c81361cc9d61dcf5050268157b3e7e92043b740 (patch)
tree9cd0dca0d06071851dcb460da6f777b307ebed8a /src/script_system.cpp
parent312a3738359cc4841cb3ce675583094becd8e830 (diff)
downloadtanetane-2c81361cc9d61dcf5050268157b3e7e92043b740.tar.gz
tanetane-2c81361cc9d61dcf5050268157b3e7e92043b740.tar.bz2
tanetane-2c81361cc9d61dcf5050268157b3e7e92043b740.zip
loadMap requires a direction now, so party trails are set up correctly
Diffstat (limited to 'src/script_system.cpp')
-rw-r--r--src/script_system.cpp4
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(