mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Another potential fix for WSE crash
This commit is contained in:
parent
2680fc0ab0
commit
b506dac333
2 changed files with 33 additions and 11 deletions
|
@ -4,6 +4,15 @@ local base64 = dofile_once("mods/quant.ew/files/resource/base64.lua")
|
|||
|
||||
local util = {}
|
||||
|
||||
local entity_load_orig = EntityLoad
|
||||
|
||||
function EntityLoad(path, ...)
|
||||
if path == "??SAV/world_state.xml" then
|
||||
error("Attempted to EntityLoad WSE")
|
||||
end
|
||||
return entity_load_orig(path, ...)
|
||||
end
|
||||
|
||||
function util.string_split( s, splitter )
|
||||
local words = {};
|
||||
if s == nil or splitter == nil then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue