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
+1 -1
View File
@@ -12,7 +12,7 @@
"traits": [
{
"Up": 1,
"Baseturf": "/area/space",
"Baseturf": "/turf/space",
"Linkage": "Cross"
},
{
+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
+1 -1
View File
@@ -103,7 +103,7 @@
. = ..()
var/hurt = TRUE
var/extra_speed = 0
if(throwingdatum.thrower != src)
if(throwingdatum?.thrower != src)
extra_speed = min(max(0, throwingdatum.speed - initial(throw_speed)), 3)
if(GetComponent(/datum/component/tackler))
return
+2 -1
View File
@@ -22,7 +22,8 @@
// initialize a holder from the contents of a disposal unit
/obj/structure/disposalholder/proc/init(obj/machinery/disposal/D)
gas = D.air_contents// transfer gas resv. into holder object
if(istype(D)) // This is sometimes called on non-machinery disposals system types.
gas = D.air_contents// transfer gas resv. into holder object
//Check for any living mobs trigger hasmob.
//hasmob effects whether the package goes to cargo or its tagged destination.
@@ -636,7 +636,6 @@
/obj/item/bodypart/proc/update_limb(dropping_limb, mob/living/carbon/source)
body_markings_list = list()
var/mob/living/carbon/C
owner.create_weakref()
if(source)
C = source
if(!original_owner)