Baystation12/Baystation12 — pull request #4937 by Ccomp5950 (2014-05-08 05:22:35+00:00)
Title: Bugfix:  Brand new players will have a client.player_age of 0

Before: When a client is created it's player_age variable is set to "Requires Database", then a select query is ran against the database to see if they have been seen before if they have logged in before this will have a row for them and it will set player age. However if there is no row for them it doesn't change player_age from default.

After: Before we check for an entry in the database we set their player_age to zero, we already checked we have a database connection so we know we will be able to pull this information and if we can't then it means they are a new player. Set their player_age to zero and be done with it.

What this does: Brand new players will no longer be able to bypass the jobs minimal age limit.