1
0
forked from mirrors/0ad

Not send redundant argument to StartNetworkGame

Engine part does not expect third argument to StartNetworkGame function.
All network games save replays by default.
This commit is contained in:
Viktor Semenov
2025-04-09 15:03:21 +00:00
parent 11dd480b67
commit 683a9cb06e
2 changed files with 2 additions and 1 deletions
@@ -155,7 +155,7 @@ class GameSettings
// NB: for multiplayer support, the clients must be listening to "start" net messages.
if (this.isNetworked)
Engine.StartNetworkGame(this.savegameID, this.finalizedAttributes, storeReplay);
Engine.StartNetworkGame(this.savegameID, this.finalizedAttributes);
else
Engine.StartGame(this.finalizedAttributes, playerAssignments.local.player, storeReplay);
}
@@ -302,6 +302,7 @@
{ "nick": "user1", "name": "A. C." },
{ "nick": "usey11" },
{ "nick": "Vantha" },
{ "nick": "victorcrimea", "name": "Viktor Semenov" },
{ "nick": "vincent_c", "name": "Vincent Cheng" },
{ "nick": "vinhig", "name": "Vincent Higginson" },
{ "nick": "vladislavbelov", "name": "Vladislav Belov" },