mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Fixed SyncOn Tasklist when removing tasks
This commit is contained in:
@@ -108,6 +108,7 @@ local function _tasks(player)
|
|||||||
return _global().tasks
|
return _global().tasks
|
||||||
elseif not data._edit and _edit then
|
elseif not data._edit and _edit then
|
||||||
data._edit = true
|
data._edit = true
|
||||||
|
for key,_ in pairs(data._tasks) do if not data._editing[key] then data._editing[key] = false end end
|
||||||
return data._tasks
|
return data._tasks
|
||||||
elseif _edit then return data._tasks
|
elseif _edit then return data._tasks
|
||||||
else return _global().tasks
|
else return _global().tasks
|
||||||
|
|||||||
Reference in New Issue
Block a user