From 35f3abfb379d3e6853df938aa3d1bc104aef99c6 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Mon, 23 Feb 2015 20:31:16 -0800 Subject: [PATCH] Fixes players getting no age on first connection This was allowing them to choose any job on servers that use the job age system. This also adds an admin message on a players first connection. (requested) --- code/modules/client/client procs.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 3b3f2706221..32ae0986467 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -176,7 +176,10 @@ var/next_external_rsc = 0 while (query.NextRow()) player_age = text2num(query.item[2]) - break + return + //player not found. + player_age = 0 + message_admins("[key_name_admin(src)] is connecting here for the first time.") /client/proc/sync_client_with_db()