mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] fix f1 adminhelp (#9405)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
8d25228ed5
commit
0639e4e9fe
@@ -180,12 +180,15 @@ var/list/mentor_verbs_default = list(
|
||||
set name = "Request help"
|
||||
set hidden = 1
|
||||
|
||||
var/mhelp = tgui_alert(usr, "Select the help you need.","Request for Help",list("Adminhelp","Mentorhelp")) == "Mentorhelp"
|
||||
var/mhelp = tgui_alert(usr, "Select the help you need.","Request for Help",list("Adminhelp","Mentorhelp"))
|
||||
if(!mhelp)
|
||||
return
|
||||
var/msg = tgui_input_text(usr, "Input your request for help.", "Request for Help", multiline = TRUE)
|
||||
|
||||
if (mhelp)
|
||||
var/msg = tgui_input_text(usr, "Input your request for help.", "Request for Help ([mhelp])", multiline = TRUE)
|
||||
if(!msg)
|
||||
return
|
||||
|
||||
if (mhelp == "Mentorhelp")
|
||||
mentorhelp(msg)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user