Skip to content

Commit cf4be05

Browse files
committed
Revert "factory_stop_production: Fix leaving more than 1 unit on first clear (beyond-all-reason#4882)"
This reverts commit 1d8555f.
1 parent f419594 commit cf4be05

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

luarules/gadgets/cmd_factory_stop_production.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ if gadgetHandler:IsSyncedCode() then
9494
local buildUnitDefID, count = next(buildPair, nil)
9595
if keepDefID == buildUnitDefID then
9696
count = count - 1
97-
keepDefID = nil
9897
end
9998
orderDequeue(unitID, buildUnitDefID, count)
10099
end

0 commit comments

Comments
 (0)