mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 11:35:19 +01:00
Merge pull request #2789 from VOREStation/aro-thirdruntime
Fixes a runtime and potential future runtime
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
|
||||
for(var/slot in slots)
|
||||
var/obj/item/clothing/O = get_equipped_item(slot) //Change this type if you move the vision stuff to item or something.
|
||||
if(O && O.enables_planes && (slot in O.plane_slots))
|
||||
if(istype(O) && O.enables_planes && (slot in O.plane_slots))
|
||||
compiled_vis |= O.enables_planes
|
||||
|
||||
//Check to see if we have a rig (ugh, blame rigs, desnowflake this)
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
..()
|
||||
|
||||
/datum/plane_holder/Destroy()
|
||||
if(my_mob)
|
||||
my_mob.plane_holder = null
|
||||
my_mob = null
|
||||
my_mob = null
|
||||
plane_masters.Cut() //Goodbye my children, be free
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user