From 92e963ffc84ca44d458ccd36e5edaed646338943 Mon Sep 17 00:00:00 2001 From: skull132 Date: Sun, 25 Dec 2016 16:56:48 +0200 Subject: [PATCH] Fix preferences having null client (#1301) Someone forgot to put this in here. --- code/modules/client/client procs.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 6227cd01bda..7a1c26602fc 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -261,6 +261,7 @@ preferences_datums[ckey] = prefs prefs.gather_notifications(src) + prefs.client = src // Safety reasons here. prefs.last_ip = address //these are gonna be used for banning prefs.last_id = computer_id //these are gonna be used for banning