Fixes infinite item bug with lathes, and corrects multi-material fill message bug. (#13142)

This commit is contained in:
mikomyazaki
2022-02-13 17:30:12 +01:00
committed by GitHub
parent d43cc25310
commit 9dfe8c3dd9
3 changed files with 68 additions and 51 deletions
-2
View File
@@ -213,8 +213,6 @@
update_icon()
return 1
else
if(get_amount() < used)
return 0
for(var/i = 1 to charge_costs.len)
var/datum/matter_synth/S = synths[i]
if(!S.use_charge(charge_costs[i] * used)) // Doesn't need to be deleted