mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fixes bug in playerpanel javascript relating to cyborgs (#10086)
Co-authored-by: oranges <email@oranges.net.nz> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,19 @@
|
||||
|
||||
#define JOB_DISPLAY_ORDER_DEFAULT 0
|
||||
|
||||
|
||||
/**
|
||||
* =======================
|
||||
* WARNING WARNING WARNING
|
||||
* WARNING WARNING WARNING
|
||||
* WARNING WARNING WARNING
|
||||
* =======================
|
||||
* These names are used as keys in many locations in the database
|
||||
* you cannot change them trivially without breaking job bans and
|
||||
* role time tracking, if you do this and get it wrong you will die
|
||||
* and it will hurt the entire time
|
||||
*/
|
||||
|
||||
//No department
|
||||
#define JOB_ASSISTANT "Assistant"
|
||||
#define JOB_PRISONER "Prisoner"
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
body += "<a href='?_src_=vars;[HrefToken()];Vars="+ref+"'>VV</a> - "
|
||||
body += "<a href='?_src_=vars;[HrefToken()];skill="+ref+"'>SP</a> - "
|
||||
body += "<a href='?_src_=holder;[HrefToken()];traitor="+ref+"'>TP</a> - "
|
||||
if (job == JOB_CYBORG)
|
||||
if (job == "Cyborg")
|
||||
body += "<a href='?_src_=holder;[HrefToken()];borgpanel="+ref+"'>BP</a> - "
|
||||
body += "<a href='?priv_msg="+ckey+"'>PM</a> - "
|
||||
body += "<a href='?_src_=holder;[HrefToken()];subtlemessage="+ref+"'>SM</a> - "
|
||||
|
||||
Reference in New Issue
Block a user