|
|
|
|
@ -643,11 +643,11 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>() |
|
|
|
|
|
|
|
|
|
remainingStack?.let { rs -> |
|
|
|
|
|
|
|
|
|
if (ca.action.type?.isAllin == false) { |
|
|
|
|
if (ca.action.type?.isAllin == true) { // updates the action amount |
|
|
|
|
ca.setType(ca.action.type!!) |
|
|
|
|
} else { // updates the remaining stack |
|
|
|
|
remainingStack = rs - ca.action.effectiveAmount |
|
|
|
|
ca.playerRemainingStack = remainingStack |
|
|
|
|
} else { |
|
|
|
|
ca.setType(ca.action.type!!) // updates the action amount |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} ?: run { |
|
|
|
|
|