Add NotBefore<SpawnStartingUnitsInfo> to LuaScriptInfo

(cherry picked from commit 9f96d0c772)
This commit is contained in:
abcdefg30
2023-10-05 21:11:05 +02:00
committed by Pavel Penev
parent 386f691c2e
commit dde39344a0

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Scripting
{
[TraitLocation(SystemActors.World)]
[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.")]
public readonly HashSet<string> Scripts = new();