Add deprecation notice to the original api.

This commit is contained in:
Paul Chote
2014-04-25 18:10:23 +12:00
parent fdd4437c52
commit f6efc9c5bc

View File

@@ -46,6 +46,9 @@ namespace OpenRA.Mods.RA.Scripting
public void WorldLoaded(World w, WorldRenderer wr)
{
Game.Debug("Warning: This map uses the deprecated scripting interface, which will be removed in a future release. " +
"If you are the map author, then please see the OpenRA wiki for instructions on how to migrate to the new API.");
world = w;
sma = world.WorldActor.Trait<SpawnMapActors>();