Letzte Bugfixes. Wegfindung funktioniert wieder

This commit is contained in:
2014-05-15 21:43:14 +02:00
parent ec6d0d6af0
commit 128adc7282
3 changed files with 22 additions and 22 deletions

View File

@@ -33,7 +33,7 @@ namespace WorldOfPeacecraft
if (x != GetX() || y != GetY ())
positionChanged = true;
base.SetPos (x, y);
if (LocationChanged != null)
if (positionChanged && LocationChanged != null)
LocationChanged(x, y);
}