fix README, SYNC, DATENSCHUTZ
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -21,7 +21,6 @@ const (
|
||||
GameWidth = 800.0
|
||||
)
|
||||
|
||||
// Globale Variablen
|
||||
var (
|
||||
ctx = context.Background()
|
||||
rdb *redis.Client
|
||||
@@ -58,7 +57,7 @@ func initGameConfig() {
|
||||
{ID: "p_bat", Type: "powerup", Width: 30, Height: 30, Color: "red", Image: "powerup_bat1.png", YOffset: 20.0}, // Schläger
|
||||
{ID: "p_boot", Type: "powerup", Width: 30, Height: 30, Color: "lime", Image: "powerup_boot1.png", YOffset: 20.0}, // Boots
|
||||
},
|
||||
// Mehrere Hintergründe für Level-Wechsel
|
||||
|
||||
Backgrounds: []string{"school-background.jpg", "gym-background.jpg", "school2-background.jpg"},
|
||||
}
|
||||
log.Println("✅ Config mit Powerups geladen")
|
||||
@@ -90,7 +89,6 @@ func loadChunksFromRedis() []ChunkDef {
|
||||
}
|
||||
}
|
||||
|
||||
// Log nur beim Server-Start (wenn defaultConfig leer ist), sonst spammt es
|
||||
if len(defaultConfig.Chunks) == 0 {
|
||||
log.Printf("📦 Lade %d Chunks aus Redis", len(loadedChunks))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user