From 526e9c69eb94d7be2328f5874041a4af0137cd30 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Tue, 7 Jul 2020 18:37:45 +0100 Subject: [PATCH] Ensure world tick properties are properly named in json --- pkg/game/world.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/game/world.go b/pkg/game/world.go index 4358ef3..2792511 100644 --- a/pkg/game/world.go +++ b/pkg/game/world.go @@ -39,10 +39,10 @@ type World struct { words []string // TicksPerDay is the amount of ticks in a single day - TicksPerDay int + TicksPerDay int `json:"ticks-per-day"` // Current number of ticks from the start - CurrentTicks int + CurrentTicks int `json:"current-ticks"` } var wordsFile = os.Getenv("WORDS_FILE")