Players and world don't need to be visible

This commit is contained in:
Gustas
2025-05-09 16:49:53 +03:00
committed by Matthias Mailänder
parent 15824ef70f
commit f0ec8105b3
9 changed files with 3 additions and 8 deletions

View File

@@ -36,6 +36,9 @@ namespace OpenRA.Mods.Common.Lint
// Catch TypeDictionary errors.
try
{
if (Enum.TryParse<SystemActors>(actorInfo.Key, true, out _))
continue;
var visibilityTypes = actorInfo.Value.TraitInfos<IDefaultVisibilityInfo>();
var count = visibilityTypes.Count;

View File

@@ -1,5 +1,4 @@
^BasePlayer:
AlwaysVisible:
Shroud:
PlayerResources:
ResourceValues:

View File

@@ -1,5 +1,4 @@
^BaseWorld:
AlwaysVisible:
Inherits: ^Palettes
ScreenMap:
ActorMap:

View File

@@ -1,5 +1,4 @@
^BasePlayer:
AlwaysVisible:
Shroud:
PlayerResources:
ResourceValues:

View File

@@ -1,6 +1,5 @@
^BaseWorld:
Inherits: ^Palettes
AlwaysVisible:
ScreenMap:
ActorMap:
Selection:

View File

@@ -1,5 +1,4 @@
^BasePlayer:
AlwaysVisible:
Shroud:
PlayerResources:
ResourceValues:

View File

@@ -1,6 +1,5 @@
^BaseWorld:
Inherits: ^Palettes
AlwaysVisible:
ActorMap:
ScreenMap:
Selection:

View File

@@ -1,5 +1,4 @@
^BasePlayer:
AlwaysVisible:
Shroud:
PlayerResources:
ResourceValues:

View File

@@ -1,6 +1,5 @@
^BaseWorld:
Inherits: ^Palettes
AlwaysVisible:
ScreenMap:
ActorMap:
Selection: