mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
missingg param (#19432)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
5f9ab85986
commit
e05a6e354c
@@ -840,7 +840,7 @@
|
||||
if(istext(mute_type)) mute_type = text2num(mute_type)
|
||||
if(!isnum(mute_type)) return
|
||||
|
||||
cmd_admin_mute(M, mute_type, usr)
|
||||
cmd_admin_mute(M, mute_type, FALSE, usr)
|
||||
|
||||
else if(href_list["c_mode"])
|
||||
if(!check_rights(R_ADMIN|R_EVENT)) return
|
||||
|
||||
@@ -159,7 +159,7 @@ ADMIN_VERB_AND_CONTEXT_MENU(cmd_admin_godmode, R_HOLDER, "Toggle Godmode", "Togg
|
||||
admin_ticket_log(target_mob, msg)
|
||||
feedback_add_details("admin_verb","GOD_ENABLE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/proc/cmd_admin_mute(mob/target, mute_type, automute = 0, mob/user)
|
||||
/proc/cmd_admin_mute(mob/target, mute_type, automute = FALSE, mob/user)
|
||||
if(automute)
|
||||
if(!CONFIG_GET(flag/automute_on))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user