mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-30 16:16:47 +01:00
Fix a number of reported runtimes
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"traits": [
|
||||
{
|
||||
"Up": 1,
|
||||
"Baseturf": "/area/space",
|
||||
"Baseturf": "/turf/space",
|
||||
"Linkage": "Cross"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user