Make the SpawnMapActors field in MapGlobal.cs readonly
This commit is contained in:
@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Scripting
|
|||||||
[ScriptGlobal("Map")]
|
[ScriptGlobal("Map")]
|
||||||
public class MapGlobal : ScriptGlobal
|
public class MapGlobal : ScriptGlobal
|
||||||
{
|
{
|
||||||
SpawnMapActors sma;
|
readonly SpawnMapActors sma;
|
||||||
public MapGlobal(ScriptContext context)
|
public MapGlobal(ScriptContext context)
|
||||||
: base(context)
|
: base(context)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user