Move GlobalModData state to ModData.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
13313b4270
commit
a04cfaec78
@@ -178,7 +178,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
serverShuttingDown = FluentProvider.GetMessage(ServerShuttingDown);
|
||||
unknownServerState = FluentProvider.GetMessage(UnknownServerState);
|
||||
|
||||
services = modData.Manifest.Get<WebServices>();
|
||||
services = modData.GetOrCreate<WebServices>();
|
||||
|
||||
incompatibleVersionColor = ChromeMetrics.Get<Color>("IncompatibleVersionColor");
|
||||
incompatibleGameColor = ChromeMetrics.Get<Color>("IncompatibleGameColor");
|
||||
|
||||
Reference in New Issue
Block a user