mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
moves core to /area/ subtype, bugfix
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
|
||||
/mob/living/silicon/decoy/syndicate/depot/proc/raise_alert()
|
||||
raised_alert = TRUE
|
||||
var/area/syndicate_depot/depotarea = get_area(src) // Cannot use myArea or areaMaster as neither will be defined for this mob type
|
||||
if(depotarea)
|
||||
var/area/syndicate_depot/core/depotarea = get_area(src) // Cannot use myArea or areaMaster as neither will be defined for this mob type
|
||||
if(istype(depotarea))
|
||||
depotarea.increase_alert("AI Unit Offline")
|
||||
else
|
||||
say("Connection failure!")
|
||||
|
||||
Reference in New Issue
Block a user