Fixed ChunkWorx stop button giving an error
This commit is contained in:
parent
90e3e2b4e6
commit
b0f1707d50
@ -43,7 +43,7 @@ function HandleRequest_Generation( Request )
|
|||||||
local Content = ""
|
local Content = ""
|
||||||
if (Request.PostParams["AGHRRRR"] ~= nil) then
|
if (Request.PostParams["AGHRRRR"] ~= nil) then
|
||||||
GENERATION_STATE = 0
|
GENERATION_STATE = 0
|
||||||
WW_instance:SaveAllChunks()
|
WW_instance:QueueSaveAllChunks()
|
||||||
WW_instance:QueueUnloadUnusedChunks()
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user