mirror of
https://github.com/Kugelschieber/go-game.git
synced 2026-01-18 14:50:28 +00:00
Removed unnecessary true.
This commit is contained in:
2
game.go
2
game.go
@@ -181,7 +181,7 @@ func Run(game Game, options *RunOptions) {
|
|||||||
delta := time.Duration(0)
|
delta := time.Duration(0)
|
||||||
var deltaSec float64
|
var deltaSec float64
|
||||||
|
|
||||||
for true {
|
for {
|
||||||
if !running || exitOnClose && wnd.ShouldClose() {
|
if !running || exitOnClose && wnd.ShouldClose() {
|
||||||
cleanup()
|
cleanup()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user