mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
The Great Unstationing (#20269)
Replaces many references of station with SSatlas variables using station_name(). Touches alot of things in the process (mostly moving some aspects to New() to allow for calling of proc/variable.) --------- Signed-off-by: Ben <91219575+Ben10083@users.noreply.github.com> Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
@@ -325,9 +325,13 @@ SUBSYSTEM_DEF(atlas)
|
||||
sleep(1 MINUTE)
|
||||
world.Reboot()
|
||||
|
||||
/proc/station_name()
|
||||
/// Called to retrieve the name of the station. When short is TRUE, the short name of the station will be provided instead.
|
||||
/proc/station_name(var/short = FALSE)
|
||||
ASSERT(SSatlas.current_map)
|
||||
. = SSatlas.current_map.station_name
|
||||
if(short)
|
||||
. = SSatlas.current_map.station_short
|
||||
else
|
||||
. = SSatlas.current_map.station_name
|
||||
|
||||
var/sname
|
||||
if (GLOB.config && GLOB.config.server_name)
|
||||
|
||||
Reference in New Issue
Block a user