maybe fix cross call errors? idk if i should be doing this

This commit is contained in:
bgkillas 2024-10-11 17:58:00 -04:00
parent eb3699ec57
commit d4d9356366

View file

@ -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