Add NotBefore<SpawnStartingUnitsInfo> to LuaScriptInfo
(cherry picked from commit 9f96d0c772)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user