mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Add config option to disable same-CID popup "YOU'LL BE BANNED STOP IT"
This is seriously fucking annoying when testing local changes. Only a config option instead of being removed completely because I am actually going to go fucking insane without this being gone.
This commit is contained in:
@@ -173,6 +173,7 @@
|
||||
var/dsay_allowed = 1
|
||||
|
||||
var/disable_lobby_music = 0 // Disables the lobby music
|
||||
var/disable_cid_warn_popup = 0 //disables the annoying "You have already logged in this round, disconnect or be banned" popup, because it annoys the shit out of me when testing.
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = subtypesof(/datum/game_mode)
|
||||
@@ -549,6 +550,9 @@
|
||||
if("disable_lobby_music")
|
||||
config.disable_lobby_music = 1
|
||||
|
||||
if("disable_cid_warn_popup")
|
||||
config.disable_cid_warn_popup = 1
|
||||
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
if( (M.computer_id == client.computer_id) )
|
||||
if(matches) matches += " and "
|
||||
matches += "ID ([client.computer_id])"
|
||||
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
|
||||
if(!config.disable_cid_warn_popup)
|
||||
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
|
||||
if(matches)
|
||||
if(M.client)
|
||||
message_admins("<font color='red'><B>Notice: </B><font color='blue'><A href='?src=\ref[usr];priv_msg=\ref[src]'>[key_name_admin(src)]</A> has the same [matches] as <A href='?src=\ref[usr];priv_msg=\ref[M]'>[key_name_admin(M)]</A>.</font>", 1)
|
||||
|
||||
@@ -311,4 +311,7 @@ PLAYER_REROUTE_CAP 0
|
||||
#DISABLE_DSAY
|
||||
|
||||
## Uncomment this if you want to disable the lobby music
|
||||
#DISABLE_LOBBY_MUSIC
|
||||
#DISABLE_LOBBY_MUSIC
|
||||
|
||||
## Uncomment this if you want to disable the popup alert for people on the same CID
|
||||
#DISABLE_CID_WARN_POPUP
|
||||
Reference in New Issue
Block a user