fixes hub not working ree (#2112)

This commit is contained in:
CitadelStationBot
2017-07-24 04:05:44 -07:00
committed by kevinz000
parent 449167efd2
commit 64966027e7
4 changed files with 16 additions and 8 deletions
+9 -2
View File
@@ -5,10 +5,8 @@
view = "15x15"
cache_lifespan = 7
hub = "Exadv1.spacestation13"
hub_password = "kMZy3U5jJHSiBQjr"
name = "/tg/ Station 13"
fps = 20
visibility = 0
#ifdef GC_FAILURE_HARD_LOOKUP
loop_checks = FALSE
#endif
@@ -304,3 +302,12 @@
s += ": [jointext(features, ", ")]"
status = s
/world/proc/update_hub_visibility(new_visibility)
if(new_visibility == GLOB.hub_visibility)
return
GLOB.hub_visibility = new_visibility
if(GLOB.hub_visibility)
hub_password = "kMZy3U5jJHSiBQjr"
else
hub_password = "SORRYNOPASSWORD"