mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
port ADMIN_VERB and friends (#30646)
* port ADMIN_VERB and friends * some renaming * dumb * one more rename * never search and replace this codebase * fix TM issues, more renaming * add a static analysis to shore up user verbs * fix double message on roundstart * remove macro we're not using yet * convert remaining playsounds verbs * convert more verbs i missed somehow * why is this a completely different signature than everything else * fix ui_interact arg * fix logging view and others * buncha issues caught in TM * fix mentor tickets ui * fix bug report viewing * moron
This commit is contained in:
@@ -167,7 +167,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
|
||||
if(QDELETED(mind.current))
|
||||
to_chat(ui.user, "<span class='warning'>Mind doesn't have a corresponding mob.</span>")
|
||||
return
|
||||
ui.user.client.holder.show_player_panel(mind.current)
|
||||
SSuser_verbs.invoke_verb(ui.user, /datum/user_verb/show_player_panel, mind.current)
|
||||
if("pm")
|
||||
ui.user.client.cmd_admin_pm(params["ckey"], null)
|
||||
if("follow")
|
||||
@@ -179,7 +179,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
|
||||
if(!ismob(mind.current))
|
||||
to_chat(ui.user, "<span class='warning'>This can only be used on instances of type /mob</span>")
|
||||
return
|
||||
C.admin_observe_target(mind.current)
|
||||
SSuser_verbs.invoke_verb(C, /datum/user_verb/admin_observe_target, mind.current)
|
||||
if("tp")
|
||||
var/datum/mind/mind = locateUID(params["mind_uid"])
|
||||
if(QDELETED(mind))
|
||||
|
||||
Reference in New Issue
Block a user