diff --git a/Server/ULandscape.pas b/Server/ULandscape.pas index 42361e5..f9b8d50 100644 --- a/Server/ULandscape.pas +++ b/Server/ULandscape.pas @@ -824,9 +824,10 @@ begin deletePacket := TDeleteStaticPacket.Create(staticItem); movePacket := TMoveStaticPacket.Create(staticItem, newX, newY); + statics.FreeObjects := False; i := statics.IndexOf(staticItem); - statics[i] := nil; statics.Delete(i); + statics.FreeObjects := True; statics := targetBlock.Cells[(newY mod 8) * 8 + newX mod 8]; statics.Add(staticItem);