buf fix

fixed a crash
Merge branch 'master' of https://github.com/Ekmort/ServeurWarsOfBaraxa