Merge pull request #695 from narroo/Issue673
ChunkWorx uses QueueUnloadUnusedChunks
This commit is contained in:
commit
d05964cbd2
@ -122,7 +122,7 @@ function OnTick( DeltaTime )
|
||||
end
|
||||
end
|
||||
WW_instance:QueueSaveAllChunks()
|
||||
WW_instance:UnloadUnusedChunks()
|
||||
WW_instance:QueueUnloadUnusedChunks()
|
||||
end
|
||||
end
|
||||
end
|
@ -44,7 +44,7 @@ function HandleRequest_Generation( Request )
|
||||
if (Request.PostParams["AGHRRRR"] ~= nil) then
|
||||
GENERATION_STATE = 0
|
||||
WW_instance:SaveAllChunks()
|
||||
WW_instance:UnloadUnusedChunks()
|
||||
WW_instance:QueueUnloadUnusedChunks()
|
||||
LOGERROR("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works ABORTED by admin")
|
||||
end
|
||||
--Content = Content .. "<head><meta http-equiv=\"refresh\" content=\"2;\"></head>"
|
||||
|
Loading…
Reference in New Issue
Block a user