diff options
author | Arun Persaud <arun@nubati.net> | 2008-05-17 11:13:55 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-05-17 11:13:55 -0700 |
commit | bc4c2d97e9ed67322757f893f0da8f881b62aee1 (patch) | |
tree | 2a4ff0d51ed60a12f429b3a897f7d0a475127aa9 /include | |
parent | f7037807083af50fcbf136cfbf18b617342d7c4e (diff) | |
download | e-DoKo-bc4c2d97e9ed67322757f893f0da8f881b62aee1.tar.gz e-DoKo-bc4c2d97e9ed67322757f893f0da8f881b62aee1.tar.bz2 e-DoKo-bc4c2d97e9ed67322757f893f0da8f881b62aee1.zip |
BUGFIX: diamond was added twice in defining the sorting order for the cards
probably never did any harm, but long anyway
Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index fdb461e..bbffe00 100644 --- a/include/functions.php +++ b/include/functions.php @@ -572,7 +572,7 @@ function sort_comp($a,$b) $ALL = array(); $ALL = array_merge($CARDS["trump"],$CARDS["diamonds"],$CARDS["clubs"], - $CARDS["hearts"],$CARDS["spades"],$CARDS["diamonds"]); + $CARDS["hearts"],$CARDS["spades"]); return pos_array($a,$ALL)-pos_array($b,$ALL); } |