1
0

Merge pull request #695 from narroo/Issue673

ChunkWorx uses QueueUnloadUnusedChunks
This commit is contained in:
Mattes D 2014-02-18 07:07:45 +01:00
commit d05964cbd2
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ function OnTick( DeltaTime )
end end
end end
WW_instance:QueueSaveAllChunks() WW_instance:QueueSaveAllChunks()
WW_instance:UnloadUnusedChunks() WW_instance:QueueUnloadUnusedChunks()
end end
end end
end end

View File

@ -44,7 +44,7 @@ function HandleRequest_Generation( Request )
if (Request.PostParams["AGHRRRR"] ~= nil) then if (Request.PostParams["AGHRRRR"] ~= nil) then
GENERATION_STATE = 0 GENERATION_STATE = 0
WW_instance:SaveAllChunks() WW_instance:SaveAllChunks()
WW_instance:UnloadUnusedChunks() WW_instance:QueueUnloadUnusedChunks()
LOGERROR("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works ABORTED by admin") LOGERROR("" .. PLUGIN:GetName() .. " v" .. PLUGIN:GetVersion() .. ": works ABORTED by admin")
end end
--Content = Content .. "<head><meta http-equiv=\"refresh\" content=\"2;\"></head>" --Content = Content .. "<head><meta http-equiv=\"refresh\" content=\"2;\"></head>"