aboutsummaryrefslogtreecommitdiff
path: root/go/client
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-08-20 15:50:08 +0200
commit47bdd5cb7c5561d304fdd56052984df6f4c24ae0 (patch)
treec8e8e5e9d8c3d2b1609a57b2ddc2bdd2b0e29c00 /go/client
parent145353d56263fdd99b395c72814fb5cd03cc9fcd (diff)
downloadmuhqs-game-47bdd5cb7c5561d304fdd56052984df6f4c24ae0.tar.gz
muhqs-game-47bdd5cb7c5561d304fdd56052984df6f4c24ae0.zip
remove debug messages from the client
Diffstat (limited to 'go/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
}