implemented more code for adding more pegs, but still a lot of work to do on pathfinding, targeting, map etc.

This commit is contained in:
2026-07-02 03:15:15 -04:00
parent 909f466f92
commit cbdca6f3cb
16 changed files with 170 additions and 50 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ public partial class Ball : RigidBody2D
EmitSignal(SignalName.Hit, BODY);
if (BODY is Peg peg)
{
peg.ChangeHealth(_healthChange, _commanderOwner);
peg.ChangeHealth(_healthChange);
_hits++;
}
}