Skip to content

Commit

Permalink
fix initial execution as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cheat-engine committed Oct 18, 2023
1 parent 4478e0c commit 147e52c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cheat Engine/autoassemblercode.pas
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,8 @@ procedure AutoAssemblerLuaCodePass(script: TStrings; parameters: TLuaCodeParams;
linenr:=ptruint(script.Objects[i]);
scriptstart:=i;



j:=i+1;
while j<script.Count do
begin
Expand Down Expand Up @@ -1250,6 +1252,8 @@ procedure AutoAssemblerCodePass1(script: TStrings; out dataForPass2: TAutoAssemb
script.insert(0,'loadlibrary(luaclient-x86_64.dll)')
else
script.insert(0,'loadlibrary(luaclient-i386.dll)');

inc(i,1);
end;

//add the code that runs and configures the luaserver
Expand Down

0 comments on commit 147e52c

Please sign in to comment.