Moved game save notification to StartGameNotification

This commit is contained in:
Gustas
2026-01-22 17:51:26 +02:00
committed by Paul Chote
parent 3a86c035b3
commit 0a9b493c14
10 changed files with 16 additions and 7 deletions

View File

@@ -30,9 +30,6 @@ namespace OpenRA.Network
[FluentReference]
const string GameStarted = "notification-game-has-started";
[FluentReference]
const string GameSaved = "notification-game-saved";
[FluentReference("player")]
const string GamePaused = "notification-game-paused";
@@ -213,9 +210,6 @@ namespace OpenRA.Network
}
case "GameSaved":
if (!orderManager.World.IsReplay)
TextNotificationsManager.AddSystemLine(GameSaved);
foreach (var nsr in orderManager.World.WorldActor.TraitsImplementing<INotifyGameSaved>())
nsr.GameSaved(orderManager.World);
break;