mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
code/global.dm => code/_global_vars/ (#17244)
* 1 * Full conversion * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -210,7 +210,7 @@
|
||||
if(db)
|
||||
var/datum/transhuman/mind_record/record = db.backed_up[new_character.mind.name]
|
||||
if((world.time - record.last_notification) < 30 MINUTES)
|
||||
global_announcer.autosay("[new_character.name] has been resleeved by the automatic resleeving system.", "TransCore Oversight", new_character.isSynthetic() ? "Science" : "Medical")
|
||||
GLOB.global_announcer.autosay("[new_character.name] has been resleeved by the automatic resleeving system.", "TransCore Oversight", new_character.isSynthetic() ? "Science" : "Medical")
|
||||
spawn(0) //Wait a second for nif to do its thing if there is one
|
||||
if(record.nif_path)
|
||||
var/obj/item/nif/nif
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
limb_data.Cut()
|
||||
organ_data.Cut()
|
||||
..()
|
||||
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in machines etc.
|
||||
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in GLOB.machines etc.
|
||||
|
||||
/datum/transhuman/body_record/proc/init_from_mob(var/mob/living/carbon/human/M, var/add_to_db = 0, var/ckeylock = 0, var/database_key)
|
||||
ASSERT(!QDELETED(M))
|
||||
|
||||
@@ -545,7 +545,7 @@
|
||||
if(O.anchored)
|
||||
return 0 //mob is anchored???
|
||||
if(get_dist(user, src) > 1 || get_dist(user, O) > 1)
|
||||
return 0 //doesn't use adjacent() to allow for non-cardinal (fuck my life)
|
||||
return 0 //doesn't use adjacent() to allow for non-GLOB.cardinal (fuck my life)
|
||||
if(!ishuman(user) && !isrobot(user))
|
||||
return 0 //not a borg or human
|
||||
if(panel_open)
|
||||
|
||||
Reference in New Issue
Block a user