From 3f556731808b6138905cb485f2d4feee2e8c55ff Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher 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(-) (limited to 'core/src/ch') diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java index c31fddbd..c5d3473a 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.2.3