aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-08 12:03:40 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:48 +0100
commit42af4e573d23c257d56607e8c9e31650b7d3a1ee (patch)
tree3ad08543a371b3435234de978970fab61d412758
parenta3f7abf2e2aa0a0d65bf36239233b1563eae082b (diff)
downloadmuhqs-game-42af4e573d23c257d56607e8c9e31650b7d3a1ee.tar.gz
muhqs-game-42af4e573d23c257d56607e8c9e31650b7d3a1ee.zip
remove debug messages from the client
-rw-r--r--go/client/game.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/go/client/game.go b/go/client/game.go
index 77baa4ad..91e7e365 100644
--- a/go/client/game.go
+++ b/go/client/game.go
@@ -393,12 +393,10 @@ func (g *Game) findObjectAt(x, y int) interface{} {
}
func (g *Game) handleTargetSelection(obj interface{}) {
- log.Println("Handle target selection")
a := g.selectedObject.(game.Action)
a.Targets().AddTarget(obj)
if !a.Targets().RequireTargets() {
- log.Println("declare", a)
g.declareAction(a)
g.selectedObject = nil
}