SQL version change, coding semantic

This commit is contained in:
joep van der velden
2019-07-14 13:05:59 +02:00
parent da047887f6
commit 6eb6c8ddba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ SUBSYSTEM_DEF(afk)
var/turf/T
// Only players and players with the AFK watch enabled
// No dead, unconcious, restrained, people without jobs, people on other Z levels than the station or antags
if(H.client == null || !H.client.prefs.afk_watch || !H.mind || \
if(!H.client || !H.client.prefs.afk_watch || !H.mind || \
H.stat || H.restrained() || !H.job || H.mind.special_role || \
!is_station_level((T = get_turf(H)).z)) // Assign the turf as last. Small optimization
if(afk_players[H.ckey])