From 8066422c75a88c37dc19d5e37775179c9636c89b Mon Sep 17 00:00:00 2001 From: LetterJay Date: Fri, 17 Feb 2017 14:43:06 -0600 Subject: [PATCH] fix character switching bug --- code/modules/client/client_procs.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index cf6a29d701..6b81e28996 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -207,6 +207,8 @@ var/next_external_rsc = 0 if(!prefs) prefs = new /datum/preferences(src) preferences_datums[ckey] = prefs + else + prefs.parent = src prefs.last_ip = address //these are gonna be used for banning prefs.last_id = computer_id //these are gonna be used for banning if(world.byond_version >= 511 && byond_version >= 511 && prefs.clientfps)