Fix a number of reported runtimes

This commit is contained in:
Elizabeth Lavenza
2024-04-01 11:33:31 -04:00
parent fc2f85d526
commit 382cb28b15
5 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -49,8 +49,9 @@
return ..()
/datum/element/photosynthesis/process()
for(var/A in attached_atoms)
var/atom/movable/AM = A
for(var/atom/movable/AM as anything in attached_atoms)
if(isnull(AM))
continue
var/light_amount = 0 //how much light there is in the place, affects receiving nutrition and healing
if(isturf(AM.loc)) //else, there's considered to be no light
var/turf/T = AM.loc