mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fixes ssair trying to proc unsimulated turfs.
An active/excited simulated turf would get deleted and converted to space, so this would change the turf in ssair's active_turfs list to a space turf, then it would runtime trying to call process_cell on it. before a : and some lack of caring and a type check handled this. this OOP way seems better.
This commit is contained in:
@@ -117,13 +117,11 @@
|
||||
sharer.temperature += heat/sharer.heat_capacity
|
||||
|
||||
|
||||
/turf/proc/process_cell(fire_count)
|
||||
SSair.remove_from_active(src)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/turf/simulated/proc/process_cell(fire_count)
|
||||
/turf/simulated/process_cell(fire_count)
|
||||
|
||||
if(archived_cycle < fire_count) //archive self if not already done
|
||||
archive()
|
||||
|
||||
Reference in New Issue
Block a user