summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-02 22:26:58 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-02 22:27:05 +0200
commit3f556731808b6138905cb485f2d4feee2e8c55ff (patch)
treea5c413e819e990b31c803ae9601d9670b9ba1e11 /core/src/ch/asynk
parente3069eb0cf7ea8d8ebec6fbe312c5c2af37ea050 (diff)
downloadRustAndDust-3f556731808b6138905cb485f2d4feee2e8c55ff.zip
RustAndDust-3f556731808b6138905cb485f2d4feee2e8c55ff.tar.gz
Player: update debug msgs
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Player.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java
index c31fddb..c5d3473 100644
--- a/core/src/ch/asynk/rustanddust/game/Player.java
+++ b/core/src/ch/asynk/rustanddust/game/Player.java
@@ -186,8 +186,8 @@ public class Player
{
apSpent += 1;
actionCount += 1;
- RustAndDust.debug("Player", String.format("%d/%d - %d", apSpent, ap, actionCount));
- if (apSpent > ap) RustAndDust.debug("ERROR: spent too much AP, please report");
+ RustAndDust.debug(" burn 1 AP : " + this.toString());
+ if (apSpent > ap) RustAndDust.error("ERROR: spent too much AP, please report");
}
public void turnEnd()