Skip to content

Commit dde3934

Browse files
abcdefg30penev92
authored andcommitted
Add NotBefore<SpawnStartingUnitsInfo> to LuaScriptInfo
(cherry picked from commit 9f96d0c)
1 parent 386f691 commit dde3934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenRA.Mods.Common/Scripting/LuaScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Scripting
2020
{
2121
[TraitLocation(SystemActors.World)]
2222
[Desc("Part of the new Lua API.")]
23-
public class LuaScriptInfo : TraitInfo, Requires<SpawnMapActorsInfo>
23+
public class LuaScriptInfo : TraitInfo, Requires<SpawnMapActorsInfo>, NotBefore<SpawnStartingUnitsInfo>
2424
{
2525
[Desc("File names with location relative to the map.")]
2626
public readonly HashSet<string> Scripts = new();

0 commit comments

Comments
 (0)