ignoring OOC players should display the correct name (#46155)

About The Pull Request

Fixes #46039. Or should at least I haven't tested it.

please note I did not write the ignoring code
Why It's Good For The Game

bug, fix, etc
Changelog

cl bandit
fix: Fixed an erroneous message with ignoring a player's OOC messages.
/cl
This commit is contained in:
bgobandit
2019-08-28 11:11:30 +12:00
committed by oranges
parent 83654b97cb
commit 90fbce8d95
+2 -1
View File
@@ -300,7 +300,8 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
var/selection = input("Please, select a player!", "Ignore", null, null) as null|anything in choices
if(!selection || !(selection in choices))
return
selection = choices[selection]
displayed_choicename = selection // ckey string
selection = choices[selection] // client
if(selection == src)
to_chat(src, "You can't ignore yourself.")
return