Formatting fixes.

Spaces to tabs, indents, etc.
This commit is contained in:
RoosterDragon
2014-05-23 15:22:16 +01:00
parent d6fe3c5fc3
commit 0c8bdff5be
18 changed files with 69 additions and 69 deletions

View File

@@ -71,7 +71,7 @@ namespace OpenRA.Scripting
throw new InvalidOperationException("[LuaGlobal] attribute not found for global table '{0}'".F(type));
Name = names.First().Name;
Bind(new [] { this });
Bind(new[] { this });
}
}
@@ -143,7 +143,7 @@ namespace OpenRA.Scripting
if (ctor == null)
throw new InvalidOperationException("{0} must define a constructor that takes a ScriptContext context parameter".F(b.Name));
var binding = (ScriptGlobal)ctor.Invoke(new [] { this });
var binding = (ScriptGlobal)ctor.Invoke(new[] { this });
using (var obj = binding.ToLuaValue(this))
registerGlobal.Call(binding.Name, obj).Dispose();
}