Skip to content

Commit

Permalink
A small optimization of the function for patching
Browse files Browse the repository at this point in the history
  • Loading branch information
kruvcraft21 committed Jan 17, 2023
1 parent fd17319 commit e4de92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OTLScript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ if #libil == 0 then
end

function setupValues(gf,gm,typeset)
gg.setValues({{address = gf,flags = typeset and typeset or gg.TYPE_DWORD,value = gm:gsub('.', function (c) return string.format('%02X', string.byte(c)) end)..'r'}})
gg.setValues({{address = gf,flags = typeset or gg.TYPE_DWORD,value = gm:gsub('.', function (c) return string.format('%02X', string.byte(c)) end)..'r'}})
end

function Il2CppName(NameFucntion)
Expand Down

0 comments on commit e4de92a

Please sign in to comment.