mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Merge branch 'master' into corporate-comms
This commit is contained in:
@@ -29,7 +29,7 @@ SUBSYSTEM_DEF(afk)
|
||||
var/turf/T
|
||||
// Only players and players with the AFK watch enabled
|
||||
// No dead, unconcious, restrained, people without jobs or people on other Z levels than the station
|
||||
if(!H.client || !H.client.prefs.toggles2 & PREFTOGGLE_2_AFKWATCH || !H.mind || \
|
||||
if(!H.client || !(H.client.prefs.toggles2 & PREFTOGGLE_2_AFKWATCH) || !H.mind || \
|
||||
H.stat || H.restrained() || !H.job || !is_station_level((T = get_turf(H)).z)) // Assign the turf as last. Small optimization
|
||||
if(afk_players[H.ckey])
|
||||
toRemove += H.ckey
|
||||
|
||||
@@ -9,6 +9,7 @@ SUBSYSTEM_DEF(sun)
|
||||
var/dy
|
||||
var/rate
|
||||
var/list/solars = list()
|
||||
var/solar_gen_rate = 1500
|
||||
|
||||
/datum/controller/subsystem/sun/Initialize(start_timeofday)
|
||||
// Lets work out an angle for the "sun" to rotate around the station
|
||||
|
||||
Reference in New Issue
Block a user