From 5adf1408d151a74200ae1d9bf577c8bb5b34a9a5 Mon Sep 17 00:00:00 2001 From: Mikhail Dzianishchyts Date: Thu, 25 Apr 2024 22:04:31 +0300 Subject: [PATCH] Bring `respawn_enabled` back to config (#25264) --- .../configuration/sections/general_configuration.dm | 3 ++- config/example/config.toml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/controllers/configuration/sections/general_configuration.dm b/code/controllers/configuration/sections/general_configuration.dm index 923bc2f4e61..40b1729b760 100644 --- a/code/controllers/configuration/sections/general_configuration.dm +++ b/code/controllers/configuration/sections/general_configuration.dm @@ -18,7 +18,7 @@ var/allow_antag_hud = TRUE /// Forbid players from rejoining if they use AntagHUD? var/restrict_antag_hud_rejoin = TRUE - /// Enable respanws by default? + /// Enable respawns by default? var/respawn_enabled = FALSE /// Enable CID randomiser buster? var/enabled_cid_randomiser_buster = FALSE @@ -94,6 +94,7 @@ CONFIG_LOAD_BOOL(allow_antag_hud, data["allow_antag_hud"]) CONFIG_LOAD_BOOL(restrict_antag_hud_rejoin, data["restrict_antag_hud_rejoin"]) CONFIG_LOAD_BOOL(enabled_cid_randomiser_buster, data["enable_cid_randomiser_buster"]) + CONFIG_LOAD_BOOL(respawn_enabled, data["respawn_enabled"]) CONFIG_LOAD_BOOL(forbid_singulo_possession, data["prevent_admin_singlo_possession"]) CONFIG_LOAD_BOOL(popup_admin_pm, data["popup_admin_pm"]) CONFIG_LOAD_BOOL(allow_holidays, data["allow_holidays"]) diff --git a/config/example/config.toml b/config/example/config.toml index c1d747f02fa..fedba7ae4a3 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -283,6 +283,8 @@ guest_ban = true allow_antag_hud = true # Forbid players from rejoining if they use antag hud restrict_antag_hud_rejoin = true +# Do we want to allow player respawns? +respawn_enabled = false # Enable/disable the buster for the CID randomiser DLL enable_cid_randomiser_buster = false # Prevent admins from possessing the singularity