OSDN Git Service

Return fix for Gotofloor action
authorryan <>
Sun, 8 Jan 2017 00:21:49 +0000 (00:21 +0000)
committerryan <>
Sun, 8 Jan 2017 00:21:49 +0000 (00:21 +0000)
src/sbs/action.cpp

index 1b854f6..070735f 100644 (file)
@@ -804,7 +804,9 @@ bool Action::Run(Object *caller, Object *parent, bool &hold)
                if ((int)command_parameters.size() == 1)
                {
                        sbs->camera->GotoFloor(ToInt(command_parameters[0]));
+                       return true;
                }
+               return false;
        }
 
        return false;