oh ffs. old world was being referenced. fixed so it crashes if you do that.

This commit is contained in:
Chris Forbes
2010-01-19 11:21:45 +13:00
parent e82a398091
commit 00abdce68f
5 changed files with 16 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenRa
{
var a = w.CreateActor("Bridge", new int2(ni, nj), null);
var br = a.traits.Get<Bridge>();
br.SetTiles(template, replacedTiles);
br.SetTiles(w, template, replacedTiles);
}
}