Add "Restart" button for multiplayer replays
This commit is contained in:
committed by
reaperrr
parent
fc82c24e1f
commit
3a377a572c
@@ -97,7 +97,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var iop = world.WorldActor.TraitsImplementing<IObjectivesPanel>().FirstOrDefault();
|
||||
var exitDelay = iop != null ? iop.ExitDelay : 0;
|
||||
|
||||
if (world.LobbyInfo.NonBotClients.Count() == 1)
|
||||
if (world.IsReplay || world.LobbyInfo.NonBotClients.Count() == 1)
|
||||
{
|
||||
restartAction = () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user