Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
hhzzff authored May 23, 2024
2 parents df9d3f2 + fc29e38 commit 73d63d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/Gaming/AttackManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void BombObj(Bullet bullet, GameObj objBeingShot)
}
break;
case GameObjType.Wormhole:
var previousHP = ((WormholeCell)objBeingShot).Wormhole.HP;
var previousHP = ((WormholeCell)objBeingShot).Wormhole.HP.GetValue();
((WormholeCell)objBeingShot).Wormhole.BeAttacked(bullet);
if (previousHP >= GameData.WormholeHP / 2 && ((WormholeCell)objBeingShot).Wormhole.HP < GameData.WormholeHP / 2)
{
Expand Down

0 comments on commit 73d63d0

Please sign in to comment.