mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Fixes Runtime in vchat_client.dm,85: Cannot execute null.is preference enabled (#7557)
This commit is contained in:
@@ -82,7 +82,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
|
||||
become_broken()
|
||||
return FALSE
|
||||
|
||||
if(!owner.is_preference_enabled(/datum/client_preference/vchat_enable))
|
||||
if(!owner?.is_preference_enabled(/datum/client_preference/vchat_enable))
|
||||
become_broken()
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user