From 3f556731808b6138905cb485f2d4feee2e8c55ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 2 May 2016 22:26:58 +0200 Subject: Player: update debug msgs --- core/src/ch/asynk/rustanddust/game/Player.java | 4 ++-- 1 file 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() -- cgit v1.1-2-g2b99