Adjust the upgrade rule for SpawnActorOnDeath

This commit is contained in:
abcdefg30
2015-08-12 19:33:58 +02:00
parent 9f5a8a6d1f
commit b24c1845fb
3 changed files with 4 additions and 0 deletions

View File

@@ -1724,6 +1724,8 @@ namespace OpenRA.Mods.Common.UtilityCommands
var deathType = node.Value.Nodes.FirstOrDefault(n => n.Key == "DeathType");
if (deathType == null)
node.Value.Nodes.Add(new MiniYamlNode("DeathType", "TiberiumDeath"));
node.Value.Nodes.Add(new MiniYamlNode("RequiresLobbyCreeps", "true"));
}
if (node.Key == "LeavesHusk")