Skip to content

Commit

Permalink
Add NotBefore<SpawnStartingUnitsInfo> to LuaScriptInfo
Browse files Browse the repository at this point in the history
(cherry picked from commit 9f96d0c)
  • Loading branch information
abcdefg30 authored and penev92 committed Oct 6, 2023
1 parent 386f691 commit dde3934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Scripting/LuaScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dde3934

Please sign in to comment.