mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -118,6 +118,12 @@ 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
|
||||
|
||||
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