mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-12 01:05:20 +00:00
fix donation not set on singleplayer (#2093)
## Description: Bug: Donation to nations was not allowed in single player mode. Always allow donation to Nations. Simplify the donation check logic. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
@@ -77,8 +77,8 @@ export class MapPlaylist {
|
||||
|
||||
// Create the default public game config (from your GameManager)
|
||||
return {
|
||||
donateGold: true,
|
||||
donateTroops: true,
|
||||
donateGold: false,
|
||||
donateTroops: false,
|
||||
gameMap: map,
|
||||
maxPlayers: config.lobbyMaxPlayers(map, mode, playerTeams),
|
||||
gameType: GameType.Public,
|
||||
|
||||
Reference in New Issue
Block a user