mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 19:43:16 +00:00
Fixes runtimes, the prescription glasses work properly, now.
This commit is contained in:
@@ -872,8 +872,9 @@
|
||||
/client/proc/radioalert()
|
||||
set category = "Fun"
|
||||
set name = "Create Radio Alert"
|
||||
var/message = input("Choose a message! (Don't forget the \"says, \" or similar at the start.)", "Message") as message|null
|
||||
var/message = input("Choose a message! (Don't forget the \"says, \" or similar at the start.)", "Message") as text|null
|
||||
var/from = input("From whom? (Who's saying this?)", "From") as text|null
|
||||
var/obj/item/device/radio/intercom/a = new /obj/item/device/radio/intercom(null)
|
||||
a.autosay(message,from)
|
||||
del(a)
|
||||
if(message && from)
|
||||
var/obj/item/device/radio/intercom/a = new /obj/item/device/radio/intercom(null)
|
||||
a.autosay(message,from)
|
||||
del(a)
|
||||
|
||||
@@ -868,14 +868,17 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
src << "[O] at [T.x],[T.y],[T.z] has a non-list fingerprints variable!"
|
||||
else
|
||||
src << "[O] in [O.loc] at [T.x],[T.y],[T.z] has a non-list fingerprints variable!"
|
||||
else
|
||||
else if (O.fingerprints.len)
|
||||
for(var/i, i <= O.fingerprints.len, i++)
|
||||
if(length(O.fingerprints[i]) != 69)
|
||||
var/turf/T = get_turf(O)
|
||||
if(istype(O.loc,/turf))
|
||||
src << "[O] at [T.x],[T.y],[T.z] has a fingerprints variable of incorrect length!"
|
||||
if(isnull(T))
|
||||
src << "[O] at [O.loc] has a fingerprints variable of incorrect length! (TURF NOT FOUND)."
|
||||
else
|
||||
src << "[O] in [O.loc] at [T.x],[T.y],[T.z] has a fingerprints variable of incorrect length!"
|
||||
if(istype(O.loc,/turf))
|
||||
src << "[O] at [T.x],[T.y],[T.z] has a fingerprints variable of incorrect length!"
|
||||
else
|
||||
src << "[O] in [O.loc] at [T.x],[T.y],[T.z] has a fingerprints variable of incorrect length!"
|
||||
break
|
||||
|
||||
world << "\red SCAN COMPLETE."
|
||||
|
||||
Reference in New Issue
Block a user