mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-16 20:20:57 +01:00
fixed clear screen problem, menus are now shown correctly. lots new
bugs though
This commit is contained in:
8
main.go
8
main.go
@@ -12,11 +12,12 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
dau := true
|
||||
var directstart bool
|
||||
|
||||
if len(os.Args) > 1 {
|
||||
dau = false
|
||||
directstart = true
|
||||
}
|
||||
|
||||
config, err := ParseCommandline()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
@@ -28,8 +29,9 @@ func main() {
|
||||
}
|
||||
|
||||
start := Play
|
||||
if dau {
|
||||
if !directstart {
|
||||
start = Menu
|
||||
config.DelayedStart = true
|
||||
}
|
||||
game := NewGame(config, SceneName(start))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user