*Compiles with the correct hub password set in hub.dm by default.

*Sets world visibility to 0 to maintain prior behavior.
*Adds a configuration toggle for setting the world public on startup.
This commit is contained in:
spookerton
2016-06-24 07:39:48 +01:00
parent a1cfdb6ee6
commit 9a0aef4b83
5 changed files with 49 additions and 2 deletions
+5
View File
@@ -4,6 +4,8 @@ var/list/gamemode_cache = list()
var/server_name = null // server name (for world name / status)
var/server_suffix = 0 // generate numeric suffix based on server port
var/start_hub_visible = 0 // world.visibility to set on world start
var/nudge_script_path = "nudge.py" // where the nudge.py script is located
var/log_ooc = 0 // log OOC channel
@@ -268,6 +270,9 @@ var/list/gamemode_cache = list()
if ("resource_urls")
config.resource_urls = splittext(value, " ")
if ("start_hub_visible")
config.start_hub_visible = 1
if ("admin_legacy_system")
config.admin_legacy_system = 1
+1
View File
@@ -32,6 +32,7 @@ datum/controller/game_controller/New()
datum/controller/game_controller/proc/setup()
world.tick_lag = config.Ticklag
world.visibility = config.start_hub_visible
spawn(20)
createRandomZlevel()