Merge pull request #8496 from Spookerton/spkrtn/sys/out-with-the-old-2

remove some obsolete defines
This commit is contained in:
Atermonera
2022-04-02 17:46:13 -08:00
committed by GitHub
71 changed files with 127 additions and 136 deletions
@@ -296,7 +296,7 @@
else if(ores_processing[metal] == PROCESS_COMPRESS && O.compresses_to) //Compressing.
var/can_make = CLAMP(ores_stored[metal],0,sheets_per_tick-sheets)
var/can_make = clamp(ores_stored[metal],0,sheets_per_tick-sheets)
if(can_make%2>0) can_make--
var/datum/material/M = get_material_by_name(O.compresses_to)
@@ -311,7 +311,7 @@
else if(ores_processing[metal] == PROCESS_SMELT && O.smelts_to) //Smelting.
var/can_make = CLAMP(ores_stored[metal],0,sheets_per_tick-sheets)
var/can_make = clamp(ores_stored[metal],0,sheets_per_tick-sheets)
var/datum/material/M = get_material_by_name(O.smelts_to)
if(!istype(M) || !can_make || ores_stored[metal] < 1)