X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Ffunctions.cpp;h=045114e7a8b65022d74a9934509b6ab80454bed3;hb=2b017a68959d768ee917128bbdaa42439911ef43;hp=404516a7dc2304f3c9cf738b52534d65a9556919;hpb=04fd1d038ba340ef0404104368555df9d632dba0;p=supertux.git diff --git a/src/scripting/functions.cpp b/src/scripting/functions.cpp index 404516a7d..045114e7a 100644 --- a/src/scripting/functions.cpp +++ b/src/scripting/functions.cpp @@ -69,7 +69,7 @@ void wait_for_screenswitch(HSQUIRRELVM vm) void exit_screen() { - g_screen_manager->exit_screen(); + g_screen_manager->pop_screen(); } void fadeout_screen(float seconds)