Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
я бездумно скопипастил код
Browse files Browse the repository at this point in the history
  • Loading branch information
johncoder0 committed Jul 3, 2023
1 parent e024cdf commit b32878b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/controllers/configuration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@

var/static/hub_entry = "<b>$SERVER</b> by <b>$HOST</b> &#8212; $ACTIVES of $PLAYERS alive"

var/static/hub_banner_url = "https://i.imgur.com/n5i0D3V.png" //bos

var/static/run_empty_levels = FALSE


Expand Down Expand Up @@ -501,6 +503,8 @@
use_age_restriction_for_jobs = TRUE
if ("use_age_restriction_for_antags")
use_age_restriction_for_antags = TRUE
if ("hub_banner_url")
config.hub_banner_url = value //bos
if ("use_recursive_explosions")
use_recursive_explosions = TRUE
if ("log_ooc")
Expand Down
3 changes: 3 additions & 0 deletions code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,9 @@ GLOBAL_VAR_INIT(world_topic_last, world.timeofday)
if (!config?.hub_visible || !config.hub_entry)
return
status = config.generate_hub_entry()
var/s = ""
if (config.hub_banner_url) //bos
s += "<img src=\"https://i.imgur.com/n5i0D3V.png\"><br>"


/world/proc/SetupLogs()
Expand Down

0 comments on commit b32878b

Please sign in to comment.