Skip to content

Commit

Permalink
vmars: run automatically, cleanup demo message (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobertlo authored Nov 20, 2024
1 parent dc1d239 commit cc776b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/vmars/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func main() {
fmt.Fprintf(os.Stderr, "only 2 warrior battles supported")
os.Exit(1)
} else if len(args) == 0 {
fmt.Fprintf(os.Stderr, "loading demo warriors")
fmt.Fprintf(os.Stderr, "usage: vmars <warrior1.red> [warrior2]\nloading demo warriors...\n")
}

warriors := make([]gmars.WarriorData, 0)
Expand Down Expand Up @@ -161,6 +161,7 @@ func main() {
rec: *rec,
speedStep: defaultSpeedStep,
fixedStart: *fixedFlag,
running: true,
}

ebiten.SetWindowSize(screenWidth, screenHeight)
Expand Down

0 comments on commit cc776b8

Please sign in to comment.