Add production support to the new Lua API

This commit is contained in:
Oliver Brakmann
2014-10-15 19:44:39 +02:00
parent 5140ce4762
commit c0da807ee7
4 changed files with 267 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA.Scripting
{
public TriggerGlobal(ScriptContext context) : base(context) { }
static ScriptTriggers GetScriptTriggers(Actor a)
public static ScriptTriggers GetScriptTriggers(Actor a)
{
var events = a.TraitOrDefault<ScriptTriggers>();
if (events == null)