thombruce / verse

🚀 A universe in progress
Other
8 stars 0 forks source link

Player is invincible #110

Closed thombruce closed 9 months ago

thombruce commented 9 months ago

Checked a previous build (v0.0.25) and this is not the case there, so it is a recent regression.

Possibility the regression only exists on #109 - best guess is that the adversaries system is silently failing when we try to apply damage to the player, because the player does not currently have the Adversaries component. The system fails early, and so damage is never applied to the player.

Consider doing one of...

  1. Adding the Adversaries component to the Player
  2. Moving Adversaries update handling into a separate system (this should ideally be done in either case)