X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Ffunctions.cpp;h=5b24c92498112b1e0ba64377fa1ea2d40dcca92e;hb=eb7c6ccdd326f6bceb67cd5259015dd994b04928;hp=99e2c9af3d1312c870eff7615ca874a8b623c085;hpb=f1e15f44f709d6b4fa45e858dc12d7d701ae8ddc;p=supertux.git diff --git a/src/scripting/functions.cpp b/src/scripting/functions.cpp index 99e2c9af3..5b24c9249 100644 --- a/src/scripting/functions.cpp +++ b/src/scripting/functions.cpp @@ -11,7 +11,7 @@ namespace Scripting void set_wakeup_time(float seconds) { - ScriptInterpreter::current()->suspend(seconds); + ScriptInterpreter::current()->set_wakeup_time(seconds); } std::string translate(const std::string& text)