mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Fixes a major runtime I accidently caused (#17394)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user