mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
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)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user