Adapt the utility commands to import crates as well

This commit is contained in:
abcdefg30
2020-04-02 19:29:21 +02:00
committed by reaperrr
parent 400102f3d3
commit 942dd0e5f7
2 changed files with 10 additions and 4 deletions

View File

@@ -85,10 +85,13 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
static string[] overlayActors = new string[] static string[] overlayActors = new string[]
{ {
// Fences // Fences
"sbag", "cycl", "brik", "fenc", "wood", "wood", "sbag", "cycl", "brik", "fenc", "wood",
// Fields // Fields
"v12", "v13", "v14", "v15", "v16", "v17", "v18" "v12", "v13", "v14", "v15", "v16", "v17", "v18",
// Crates
"wcrate", "scrate"
}; };
void UnpackOverlayData(MemoryStream ms) void UnpackOverlayData(MemoryStream ms)

View File

@@ -73,10 +73,13 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
static string[] overlayActors = new string[] static string[] overlayActors = new string[]
{ {
// Fences // Fences
"sbag", "cycl", "brik", "fenc", "wood", "wood", "sbag", "cycl", "brik", "fenc", "wood",
// Fields // Fields
"v12", "v13", "v14", "v15", "v16", "v17", "v18" "v12", "v13", "v14", "v15", "v16", "v17", "v18",
// Crates
"wcrate", "scrate"
}; };
void ReadOverlay(IniFile file) void ReadOverlay(IniFile file)