Implement pac-man-ing

This commit is contained in:
SilicaAndPina 2021-02-07 23:23:11 +13:00
parent cfdea72b6c
commit 02876ec2b4
2 changed files with 12 additions and 6 deletions

View file

@ -242,9 +242,6 @@ namespace HISP.Player
}
set
{
if (value > Map.Width)
value = Map.Width;
Database.SetPlayerX(value, Id);
x = value;
}
@ -258,8 +255,6 @@ namespace HISP.Player
}
set
{
if (value > Map.Height)
value = Map.Height;
Database.SetPlayerY(value, Id);
y = value;
}