mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
maybe fix cross call errors? idk if i should be doing this
This commit is contained in:
parent
eb3699ec57
commit
d4d9356366
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
|||
local old = HasFlagPersistent
|
||||
|
||||
function HasFlagPersistent(flag)
|
||||
if EwHasPersistentFlag ~= nil then
|
||||
return EwHasPersistentFlag(flag)
|
||||
end
|
||||
return CrossCall("ew_has_flag", flag)
|
||||
if CrossCall ~= nil then
|
||||
return CrossCall("ew_has_flag", flag)
|
||||
else
|
||||
return old(flag)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue