Yeet save/load_world_state stuff as it wasn't used anyway.

This commit is contained in:
IQuant 2024-11-21 18:53:56 +03:00
parent 031083e75f
commit 134584dcf2
3 changed files with 4 additions and 51 deletions

View file

@ -10,7 +10,6 @@ local module = {}
function module.on_world_initialized()
initial_world_state_entity = GameGetWorldStateEntity()
ewext.on_world_initialized()
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))
@ -38,8 +37,6 @@ end
function module.on_world_update()
if GameGetWorldStateEntity() ~= initial_world_state_entity then
-- -- EntityKill(GameGetWorldStateEntity())
-- ewext.load_world_state()
oh_another_world_state(GameGetWorldStateEntity())
initial_world_state_entity = GameGetWorldStateEntity()
end