Skip to content

Commit

Permalink
Send current pos to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Feb 22, 2024
1 parent 250c9b2 commit 40580d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CentrED/Map/MapManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ public Point Position
set {
Camera.Position.X = value.X * TileObject.TILE_SIZE;
Camera.Position.Y = value.Y * TileObject.TILE_SIZE;
Client.SetPos((ushort)value.X, (ushort)value.Y);
}
}

Expand Down

0 comments on commit 40580d1

Please sign in to comment.