mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Don't do anything funky with ewext yet
This commit is contained in:
parent
c4e6fe2dd4
commit
f76fb1229f
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ local module = {}
|
|||
|
||||
function module.on_world_initialized()
|
||||
initial_world_state_entity = GameGetWorldStateEntity()
|
||||
ewext.save_world_state()
|
||||
-- ewext.save_world_state()
|
||||
local grid_world = world_ffi.get_grid_world()
|
||||
local chunk_map = grid_world.vtable.get_chunk_map(grid_world)
|
||||
grid_world = tonumber(ffi.cast("intptr_t", grid_world))
|
||||
|
@ -22,9 +22,9 @@ end
|
|||
|
||||
function module.on_world_update()
|
||||
if GameGetWorldStateEntity() ~= initial_world_state_entity then
|
||||
GamePrint("Whoops WSE is different "..GameGetWorldStateEntity().." "..initial_world_state_entity)
|
||||
-- GamePrint("Whoops WSE is different "..GameGetWorldStateEntity().." "..initial_world_state_entity)
|
||||
-- EntityKill(GameGetWorldStateEntity())
|
||||
ewext.load_world_state()
|
||||
-- ewext.load_world_state()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue