|
@@ -19,6 +19,7 @@
|
|
|
**/
|
|
|
|
|
|
#include "common/version.h"
|
|
|
+#include "common/runtime.h"
|
|
|
#include "modules/love/love.h"
|
|
|
#include <SDL.h>
|
|
|
|
|
@@ -214,7 +215,7 @@ static DoneAction runlove(int argc, char **argv, int &retval)
|
|
|
lua_newthread(L);
|
|
|
lua_pushvalue(L, -2);
|
|
|
int stackpos = lua_gettop(L);
|
|
|
- while (lua_resume(L, 0) == LUA_YIELD)
|
|
|
+ while (love::luax_resume(L, 0) == LUA_YIELD)
|
|
|
lua_pop(L, lua_gettop(L) - stackpos);
|
|
|
|
|
|
retval = 0;
|