mirror of
https://github.com/cheat-engine/cheat-engine
synced 2026-08-15 02:26:08 -04:00
fix CustomType ConvertDataToIntegerLua
This commit is contained in:
parent
500c7599ed
commit
de453d877b
1 changed files with 7 additions and 1 deletions
|
|
@ -281,7 +281,13 @@ begin
|
|||
|
||||
lua_pushinteger(L, address);
|
||||
|
||||
lua_call(L, bytesize,1);
|
||||
lua_call(L, bytesize+1,1);
|
||||
{
|
||||
if lua_pcall(L, bytesize+1,1, 0)<>0 then
|
||||
begin
|
||||
Log('customtype error:'+Lua_ToString(L,-1));
|
||||
end;
|
||||
}
|
||||
result:=lua_tointeger(L, -1);
|
||||
|
||||
lua_pop(L,lua_gettop(l));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue