fixed the error on player's first connect (tested and works)

Signed-off-by: Hugo ThePooN Denizart <thepoon@cartooncraft.fr>