CLEANUP: reorganized the 'init' phase of a game
authorArun Persaud <arun@nubati.net>
Fri, 9 May 2008 03:40:43 +0000 (20:40 -0700)
committerArun Persaud <arun@nubati.net>
Fri, 9 May 2008 03:40:43 +0000 (20:40 -0700)
commit9239ba22c382383cd258ad3f36b2bc0dc99664b2
tree916f1a75fa7624a9ec756b5ff673ba796812b7ed
parent90323815e10b6bd6dc04e270a78ee9687a2f357a
CLEANUP: reorganized the 'init' phase of a game

moved some code around, so that we test the result
of the init phase in the init case statement. Made things
a bit clearer and removed one page reload by doing this.

Signed-off-by: Arun Persaud <arun@nubati.net>
include/db.php
include/game.php
include/stats.php
include/user.php