Skip to content

Commit

Permalink
fix hub (#6935)
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Dec 24, 2024
1 parent 067946e commit 4d9274e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions code/controllers/configuration_old/configuration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

var/nudge_script_path = "nudge.py" // where the nudge.py script is located

var/hub_visibility = FALSE //CITADEL CHANGE - HUB CONFIG

var/log_ooc = 0 // log OOC channel
var/log_access = 0 // log login/logout
var/log_say = 0 // log client say
Expand Down Expand Up @@ -280,9 +278,6 @@
if ("ban_legacy_system")
config_legacy.ban_legacy_system = 1

if ("hub_visibility") //CITADEL CHANGE - ADDS HUB CONFIG
config_legacy.hub_visibility = 1

if ("jobs_have_minimal_access")
config_legacy.jobs_have_minimal_access = 1

Expand Down Expand Up @@ -834,4 +829,3 @@
config_legacy.python_path = "/usr/bin/env python2"
else //probably windows, if not this should work anyway
config_legacy.python_path = "python"
world.update_hub_visibility(hub_visibility) //CITADEL CHANGE - HUB CONFIG
3 changes: 2 additions & 1 deletion code/controllers/subsystem/server_maint.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ SUBSYSTEM_DEF(server_maint)
var/cleanup_ticker = 0

/datum/controller/subsystem/server_maint/PreInit()
world.hub_password = "" //quickly! before the hubbies see us.
// quickly! before the hubbies see us.
world.update_hub_visibility(FALSE)

/datum/controller/subsystem/server_maint/Initialize()
if (fexists("tmp/"))
Expand Down

0 comments on commit 4d9274e

Please sign in to comment.