From c25ab2537cb201dc46b7c1d375dd1c12411fe85c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 10 Feb 2021 20:09:42 -0500 Subject: Player movement/input is halted during cutscenes --- src/script_system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script_system.cpp') diff --git a/src/script_system.cpp b/src/script_system.cpp index 8fd5028..0fa0c1b 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp @@ -31,7 +31,8 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { engine_.new_usertype( "character", - "startRunning", &CharacterSystem::startRunning); + "startRunning", &CharacterSystem::startRunning, + "halt", &CharacterSystem::halt); engine_.new_usertype( "mixer", -- cgit 1.4.1