mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Disable wang_hooks system for now, as it doesn't work
This commit is contained in:
parent
1736a055e4
commit
610c736e57
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
local orig_RegisterSpawnFunction = RegisterSpawnFunction
|
||||
|
||||
local function notload()
|
||||
|
||||
end
|
||||
|
||||
-- The root file that imported everything else.
|
||||
-- TODO: maybe dofile should be patched?
|
||||
|
@ -15,7 +17,7 @@ do_mod_appends = function(filename, ...)
|
|||
print("do_mod_appends "..filename)
|
||||
end
|
||||
|
||||
local orig_do_mod_appends = do_mod_appends
|
||||
local orig_RegisterSpawnFunction = RegisterSpawnFunction
|
||||
function RegisterSpawnFunction(color, fn_name)
|
||||
local root_id = "???" -- TODO, this should be id (path) of a file that actually calls RegisterSpawnFunction, that we can dofile to call related functions manually.
|
||||
detour_fn_name = "ew_detour_"..fn_name
|
||||
|
|
|
@ -93,8 +93,8 @@ local function load_modules()
|
|||
ctx.load_system("essence_sync")
|
||||
ctx.load_system("spectate")
|
||||
ctx.load_system("effect_data_sync")
|
||||
--ctx.load_system("hax_preload")
|
||||
ctx.load_system("wang_hooks")
|
||||
ctx.load_system("hax_preload")
|
||||
-- ctx.load_system("wang_hooks")
|
||||
end
|
||||
|
||||
local function is_suitable_target(entity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue