update
This commit is contained in:
@@ -260,7 +260,7 @@ func _push_lobby(code: String, data: Dictionary, besitzer: int) -> void:
|
||||
## Einzelspieler: kein Netzwerk, nur der lokale Spieler und Bots.
|
||||
## `bots`: optionale Liste {name, stufe} - die Kampagne setzt so Kapitän und
|
||||
## Mannschaft mit eigenen Stufen an den Tisch.
|
||||
func start_singleplayer(pname: String, ai_count: int, stufe := 1, dice := 5, bots: Array = []) -> void:
|
||||
func start_singleplayer(pname: String, ai_count: int, stufe := 1, dice := 5, bots: Array = [], beute := "") -> void:
|
||||
player_name = pname
|
||||
multiplayer.multiplayer_peer = OfflineMultiplayerPeer.new()
|
||||
room_code = SOLO
|
||||
@@ -270,7 +270,7 @@ func start_singleplayer(pname: String, ai_count: int, stufe := 1, dice := 5, bot
|
||||
in_game = true
|
||||
lobby_changed.emit()
|
||||
game_started.emit(SOLO, {"peers": [1], "names": lobby.duplicate(), "ai": ai_count,
|
||||
"stufe": stufe, "dice": dice, "bots": bots})
|
||||
"stufe": stufe, "dice": dice, "bots": bots, "beute": beute})
|
||||
|
||||
|
||||
## Nach einem Abbruch mit demselben Namen zurück in die laufende Partie.
|
||||
|
||||
Reference in New Issue
Block a user