Make the SpawnMapActors field in MapGlobal.cs readonly

This commit is contained in:
abcdefg30
2016-03-12 21:18:48 +01:00
parent 728bad9565
commit d907296f4e

View File

@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Scripting
[ScriptGlobal("Map")]
public class MapGlobal : ScriptGlobal
{
SpawnMapActors sma;
readonly SpawnMapActors sma;
public MapGlobal(ScriptContext context)
: base(context)
{