From 89da656687bb16176bde5f52ec9f6f2b68b5895d Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Tue, 27 Oct 2020 14:46:33 +0000 Subject: [PATCH] remove spurious logging --- internal/sim/player.go | 1 - internal/sim/room.go | 1 - internal/sim/world.go | 1 - 3 files changed, 3 deletions(-) diff --git a/internal/sim/player.go b/internal/sim/player.go index 3d6b1c9..f31fb7d 100644 --- a/internal/sim/player.go +++ b/internal/sim/player.go @@ -13,7 +13,6 @@ type player struct { } func (p *player) update(dt time.Duration) { - p.Info("tick") } func (p *player) id() int { return p.entityID } diff --git a/internal/sim/room.go b/internal/sim/room.go index cfbeabe..a13a28f 100644 --- a/internal/sim/room.go +++ b/internal/sim/room.go @@ -16,7 +16,6 @@ type room struct { } func (r *room) update(dt time.Duration) { - r.Info("updating room") for _, t := range r.tiles { for _, e := range t.contents { e.update(dt) diff --git a/internal/sim/world.go b/internal/sim/world.go index 7f3e987..0a28d6b 100644 --- a/internal/sim/world.go +++ b/internal/sim/world.go @@ -82,7 +82,6 @@ func (w *World) DespawnPlayer(id int) { } func (w *World) tick(d time.Duration) { - w.Info("tick. elapsed: %v", d) for _, r := range w.rooms { r.update(d) }