Fix exception with memory modification

This commit is contained in:
David Vogel 2023-03-15 23:57:17 +01:00
parent 9494588e7b
commit f1a3010d72

View File

@ -140,7 +140,7 @@ function Modification.SetMemoryOptions(memory)
local level2 = level1[ffi.os] local level2 = level1[ffi.os]
level2 = level2 or {} level2 = level2 or {}
local level3 local level3 = {}
for k, v in pairs(level2) do for k, v in pairs(level2) do
if ffi.string(ffi.cast("char*", k)) == v._BuildString then if ffi.string(ffi.cast("char*", k)) == v._BuildString then
level3 = v level3 = v