|
|
@ -926,7 +926,6 @@ function battle($event_id, array $char1, array $char2, $attack_set, $startTimest
|
|
|
|
|
|
|
|
|
|
|
|
// first persist the fight and then check who was the winner and adjust the char array for him ;)
|
|
|
|
// first persist the fight and then check who was the winner and adjust the char array for him ;)
|
|
|
|
persistFight($event_id, $combinedArray, $startTimestamp, $endTimestamp);
|
|
|
|
persistFight($event_id, $combinedArray, $startTimestamp, $endTimestamp);
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// now get the winners array
|
|
|
|
// now get the winners array
|
|
|
|
$rounds = $combinedArray['rounds'];
|
|
|
|
$rounds = $combinedArray['rounds'];
|
|
|
|