mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
Fixes for Antiqua compilation and runtimes.
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
var/ul_created = findtext(tag,":UL")
|
||||
ul_Prep()
|
||||
if(ul_created)
|
||||
if(!related)
|
||||
related = list(src)
|
||||
return
|
||||
related += src
|
||||
return
|
||||
related = list(src)
|
||||
|
||||
@@ -237,11 +237,11 @@
|
||||
var/image/I = cult_mind.current.antag_img
|
||||
I.icon_state = "cult"
|
||||
cultist.current.client.images += I
|
||||
if(cult_mind.current)
|
||||
if(cult_mind.current.client)
|
||||
var/image/I = cultist.current.antag_img
|
||||
I.icon_state = "cult"
|
||||
cult_mind.current.client.images += I
|
||||
if(cult_mind.current)
|
||||
if(cult_mind.current.client)
|
||||
var/image/I = cultist.current.antag_img
|
||||
I.icon_state = "cult"
|
||||
cult_mind.current.client.images += I
|
||||
|
||||
|
||||
/datum/game_mode/proc/update_cult_icons_removed(datum/mind/cult_mind)
|
||||
@@ -253,11 +253,11 @@
|
||||
if(I.icon_state == "cult" && I.loc == cult_mind.current)
|
||||
cultist.current.client.images -= I
|
||||
|
||||
if(cult_mind.current)
|
||||
if(cult_mind.current.client)
|
||||
for(var/image/I in cult_mind.current.client.images)
|
||||
if(I.icon_state == "cult")
|
||||
cult_mind.current.client.images -= I
|
||||
if(cult_mind.current)
|
||||
if(cult_mind.current.client)
|
||||
for(var/image/I in cult_mind.current.client.images)
|
||||
if(I.icon_state == "cult")
|
||||
cult_mind.current.client.images -= I
|
||||
|
||||
|
||||
/datum/game_mode/cult/proc/get_unconvertables()
|
||||
|
||||
@@ -594,7 +594,7 @@ CIRCULAR SAW
|
||||
for(var/obj/item/weapon/implant/implant in S.implant)
|
||||
implant.loc = (get_turf(H))
|
||||
implant.implanted = 0
|
||||
S.implant = null
|
||||
S.implant.Remove(implant)
|
||||
playsound(user, 'squelch1.ogg', 50, 1)
|
||||
if(istype(implant, /obj/item/weapon/implant/explosive) || istype(implant, /obj/item/weapon/implant/uplink) || istype(implant, /obj/item/weapon/implant/dexplosive) || istype(implant, /obj/item/weapon/implant/explosive) || istype(implant, /obj/item/weapon/implant/compressed))
|
||||
usr << "The implant disintegrates into nothing..."
|
||||
|
||||
@@ -109,8 +109,8 @@
|
||||
":q" = "Cargo",
|
||||
":g" = "changeling",
|
||||
|
||||
":R" = "right hand",
|
||||
":L" = "left hand",
|
||||
":R" = "right ear",
|
||||
":L" = "left ear",
|
||||
":I" = "intercom",
|
||||
":H" = "department",
|
||||
":C" = "Command",
|
||||
@@ -150,9 +150,9 @@
|
||||
//world << "channel_prefix=[channel_prefix]; message_mode=[message_mode]"
|
||||
if (message_mode)
|
||||
message = trim(copytext(message, 3))
|
||||
if (!(ishuman(src) || istype(src, /mob/living/simple_animal)) && (message_mode=="department" || (message_mode in radiochannels)))
|
||||
if (!(ishuman(src) || istype(src, /mob/living/simple_animal/parrot)) && (message_mode=="department" || (message_mode in radiochannels) || message_mode == "right ear" || message_mode == "left ear"))
|
||||
message_mode = null //only humans can use headsets
|
||||
// Check removed so parrots can use headsets!
|
||||
// Parrots can also use headsets!
|
||||
|
||||
if (!message)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user