mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
that's not how #ifndef works
This commit is contained in:
@@ -72,7 +72,7 @@ SUBSYSTEM_DEF(planets)
|
|||||||
if(MC_TICK_CHECK)
|
if(MC_TICK_CHECK)
|
||||||
return
|
return
|
||||||
|
|
||||||
#ifndef UNIT_TEST // Don't be updating temperatures and such during unit tests
|
#if !(UNIT_TEST) // Don't be updating temperatures and such during unit tests // CHOMPedit: That's not how ifndef works!
|
||||||
var/list/needs_temp_update = src.needs_temp_update
|
var/list/needs_temp_update = src.needs_temp_update
|
||||||
while(needs_temp_update.len)
|
while(needs_temp_update.len)
|
||||||
var/datum/planet/P = needs_temp_update[needs_temp_update.len]
|
var/datum/planet/P = needs_temp_update[needs_temp_update.len]
|
||||||
|
|||||||
Reference in New Issue
Block a user