Revert "Merge branch 'lua-action-profile' into 'master'"

This reverts commit e1c010c8ed.
This commit is contained in:
NepDisk 2024-08-01 03:34:53 -04:00
parent e1c010c8ed
commit 00889e7001

View file

@ -29,7 +29,6 @@
#include "lua_libs.h"
#include "lua_hud.h" // hud_running errors
#include "lua_hook.h" // hook_cmd_running errors
#include "lua_profile.h"
extern CV_PossibleValue_t Color_cons_t[];
extern UINT8 skincolor_modified[];
@ -683,10 +682,7 @@ static void A_Lua(mobj_t *actor)
LUA_PushUserdata(gL, actor, META_MOBJ);
lua_pushinteger(gL, var1);
lua_pushinteger(gL, var2);
lua_timer_t *timer = LUA_BeginFunctionTimer(gL, -4, "A_Lua");
LUA_Call(gL, 3, 0, 1);
LUA_EndFunctionTimer(timer);
if (found)
{