mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] Staticpath [MDB ignore] (#12445)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
cc106f8032
commit
ba5224fbcb
@@ -74,7 +74,7 @@
|
||||
for(var/ore in machine.ores_processing)
|
||||
if(!machine.ores_stored[ore] && !show_all_ores)
|
||||
continue
|
||||
var/ore/O = GLOB.ore_data[ore]
|
||||
var/datum/ore/O = GLOB.ore_data[ore]
|
||||
if(!O)
|
||||
continue
|
||||
ores.Add(list(list(
|
||||
@@ -189,8 +189,8 @@
|
||||
|
||||
/obj/machinery/mineral/processing_unit/Initialize(mapload)
|
||||
. = ..()
|
||||
for(var/ore in GLOB.ore_data)
|
||||
var/ore/OD = GLOB.ore_data[ore]
|
||||
for(var/ore, value in GLOB.ore_data)
|
||||
var/datum/ore/OD = value
|
||||
ores_processing[OD.name] = 0
|
||||
ores_stored[OD.name] = 0
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
|
||||
if(ores_stored[metal] > 0 && ores_processing[metal] != 0)
|
||||
|
||||
var/ore/O = GLOB.ore_data[metal]
|
||||
var/datum/ore/O = GLOB.ore_data[metal]
|
||||
|
||||
if(!O) continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user