8-4-25 @ 2:42 am
This commit is contained in:
@@ -93,17 +93,18 @@ public partial class Battle : Node
|
||||
if (c > 0)
|
||||
{
|
||||
Vector2 position = new Vector2(table.GlobalPosition.X - (r * (diameter / 2)) + ((c - 1) * diameter), table.GlobalPosition.Y - table.Texture.GetSize().Y / 4 - (r * diameter));
|
||||
if (PLAYER._id == rackBall._ownerId)
|
||||
if (PLAYER == rackBall._owner)
|
||||
{
|
||||
PLAYER.PlaceBall(rackBall, position);
|
||||
}
|
||||
if (COMPUTER._id == rackBall._ownerId)
|
||||
if (COMPUTER == rackBall._owner)
|
||||
{
|
||||
COMPUTER.PlaceBall(rackBall, position);
|
||||
}
|
||||
}
|
||||
}
|
||||
// PLAYER.PotBall();
|
||||
PLAYER.SetRack();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user