Merge pull request #9144 from MistakeNot4892/horror

Reworks mech repair loop to avoid infinite loops.
This commit is contained in:
Atermonera
2023-07-23 14:57:58 -08:00
committed by GitHub
3 changed files with 47 additions and 29 deletions
+1 -1
View File
@@ -285,7 +285,7 @@
while(amount + 4 <= maxAmount)
busy = TRUE
update_icons()
if(do_after(5 SECONDS))
if(do_after(src, 5 SECONDS))
if(M)
M.use(1)
addTiles(4)