Add NotBefore<SpawnStartingUnitsInfo> to LuaScriptInfo

This commit is contained in:
abcdefg30
2023-10-05 21:11:05 +02:00
committed by Pavel Penev
parent d5c940ba4c
commit 9f96d0c772

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Scripting
{ {
[TraitLocation(SystemActors.World)] [TraitLocation(SystemActors.World)]
[Desc("Part of the new Lua API.")] [Desc("Part of the new Lua API.")]
public class LuaScriptInfo : TraitInfo, Requires<SpawnMapActorsInfo> public class LuaScriptInfo : TraitInfo, Requires<SpawnMapActorsInfo>, NotBefore<SpawnStartingUnitsInfo>
{ {
[Desc("File names with location relative to the map.")] [Desc("File names with location relative to the map.")]
public readonly HashSet<string> Scripts = new(); public readonly HashSet<string> Scripts = new();