mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] var/global/list -> GLOB. conversion (#11193)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6f8cbcf612
commit
2c9453b5c3
@@ -291,10 +291,10 @@
|
||||
/datum/unit_test/chemical_grinding_must_produce_valid_results/start_test()
|
||||
var/failed = FALSE
|
||||
|
||||
for(var/grind in global.sheet_reagents + global.ore_reagents)
|
||||
var/list/results = global.sheet_reagents[grind]
|
||||
for(var/grind in GLOB.sheet_reagents + GLOB.ore_reagents)
|
||||
var/list/results = GLOB.sheet_reagents[grind]
|
||||
if(!results)
|
||||
results = global.ore_reagents[grind]
|
||||
results = GLOB.ore_reagents[grind]
|
||||
if(!results || !islist(results))
|
||||
log_unit_test("[grind]: Reagents - Grinding result had invalid list.")
|
||||
failed = TRUE
|
||||
|
||||
Reference in New Issue
Block a user