Bug fixes
This commit is contained in:
@@ -53,6 +53,11 @@ namespace EvilSatellites.Objects
|
||||
Move(Direction);
|
||||
if (Vector3.Distance(StartPos, Position) > Range)
|
||||
{
|
||||
var scr = (GameScreen)Screen;
|
||||
if (Owner == scr.GetPlayer())
|
||||
{
|
||||
Screen.Manager.Computer.Play("Void");
|
||||
}
|
||||
Destroy();
|
||||
}
|
||||
Sound.Position = new System.Numerics.Vector3(Position.X + Dimensions.X / 2, Position.Y + Dimensions.Y / 2, Position.Z + Dimensions.Z / 2);
|
||||
|
||||
Reference in New Issue
Block a user