Fixes a major runtime I accidently caused (#17394)

This commit is contained in:
AffectedArc07
2022-02-09 18:19:42 +00:00
committed by GitHub
parent 6eb4ce8c71
commit 8d3d328b84
+6
View File
@@ -433,6 +433,9 @@
/client/proc/announce_join()
if(!holder)
return
if(holder.rights & R_MENTOR)
if(SSredis.connected)
var/list/mentorcounter = staff_countup(R_MENTOR)
@@ -454,6 +457,9 @@
SSredis.publish("byond.asay.out", json_encode(data))
/client/proc/announce_leave()
if(!holder)
return
if(holder.rights & R_MENTOR)
if(SSredis.connected)
var/list/mentorcounter = staff_countup(R_MENTOR)