Ensure world tick properties are properly named in json
This commit is contained in:
parent
20385c5ae7
commit
526e9c69eb
1 changed files with 2 additions and 2 deletions
|
@ -39,10 +39,10 @@ type World struct {
|
||||||
words []string
|
words []string
|
||||||
|
|
||||||
// TicksPerDay is the amount of ticks in a single day
|
// 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
|
// Current number of ticks from the start
|
||||||
CurrentTicks int
|
CurrentTicks int `json:"current-ticks"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var wordsFile = os.Getenv("WORDS_FILE")
|
var wordsFile = os.Getenv("WORDS_FILE")
|
||||||
|
|
Loading…
Add table
Reference in a new issue