mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Fixes xeno whispers, for real this time.
This commit is contained in:
@@ -102,9 +102,10 @@ Doesn't work on other aliens/AI.*/
|
||||
action_icon_state = "alien_whisper"
|
||||
|
||||
/obj/effect/proc_holder/alien/whisper/fire(mob/living/carbon/user)
|
||||
var/mob/living/M = input("Select who to whisper to:","Whisper to?",null) as mob in oview(user)
|
||||
if(!M)
|
||||
return 0
|
||||
var/list/options = list()
|
||||
for(var/mob/living/Ms in oview(user))
|
||||
options += Ms
|
||||
var/mob/living/M = input("Select who to whisper to:","Whisper to?",null) as null|mob in options
|
||||
var/msg = sanitize(input("Message:", "Alien Whisper") as text|null)
|
||||
if(msg)
|
||||
log_say("AlienWhisper: [key_name(user)]->[M.key] : [msg]")
|
||||
|
||||
Reference in New Issue
Block a user