Hi there
I have predefined colors in my game corresponding to material.
I have listed thes colours in my gamesinfos.inc.php :
From my game.game.php, i call for reattribution :
Unfortunately, i have bugs with green preference that reallocate to my blue, and yellow preference that reallocate to my orange.
Is there anyway i can influence the reallocation?
Thanks for your time
I have predefined colors in my game corresponding to material.
I have listed thes colours in my gamesinfos.inc.php :
Code: Select all
$gameinfos = array(
'player_colors' => array( "ea3a3c", "f4eb22", "63a9dc", "54a94a", "f69822" ,"9c68ac"),
'favorite_colors_support' => true,
)Code: Select all
self::reattributeColorsBasedOnPreferences( $players, $gameinfos['player_colors'] );
self::reloadPlayersBasicInfos();Is there anyway i can influence the reallocation?
Thanks for your time