mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
..
This commit is contained in:
@@ -118,12 +118,14 @@ local function research_notification(event)
|
||||
if config.limit_res[event.research.name] and (event.research.level + 1) >= config.limit_res[event.research.name] then
|
||||
event.research.enabled = false
|
||||
event.research.visible_when_disabled = false
|
||||
|
||||
event.research.force.cancel_current_research()
|
||||
--[[
|
||||
for i = #event.research.force.research_queue, 1, -1 do
|
||||
if event.research.force.research_queue[i] == event.research.name then
|
||||
table.remove(event.research.force.research_queue, i)
|
||||
end
|
||||
end
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user