mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Allow server to initialise world without connected players (see https://github.com/dopeghoti/Baystation12/commit/f24af4140a2f84a0fbbd55141d5f5c6447bc3213)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -28,7 +28,7 @@ Starting up. [time2text(world.timeofday, "hh:mm.ss")]
|
||||
make_datum_references_lists() //initialises global lists for referencing frequently used datums (so that we only ever do it once)
|
||||
process_teleport_locs() //Sets up the wizard teleport locations
|
||||
process_ghost_teleport_locs() //Sets up ghost teleport locations.
|
||||
sleep_offline = 1
|
||||
//sleep_offline = 1
|
||||
|
||||
spawn(180) //so we aren't adding to the round-start lag
|
||||
/*if(config.ToRban)
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
..()
|
||||
|
||||
sleep(50)
|
||||
//sleep(50)
|
||||
|
||||
plmaster = new /obj/effect/overlay( )
|
||||
plmaster.icon = 'icons/effects/tile_effects.dmi'
|
||||
|
||||
@@ -46,6 +46,13 @@ datum/controller/game_controller
|
||||
|
||||
world.tick_lag = config.Ticklag
|
||||
|
||||
// Sleep for about 5 seconds to allow background initialization procs to finish
|
||||
sleep(50)
|
||||
|
||||
// Now that the game is world is fully initialized, pause server until a user connects.
|
||||
world.sleep_offline = 1
|
||||
|
||||
|
||||
createRandomZlevel()
|
||||
|
||||
setup_objects()
|
||||
|
||||
Reference in New Issue
Block a user