You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
Problem
Health is being subtracted from even after its zero. Shouldn't be a problem after death is implement but is a bug in current release.
Bugged Lines
https://github.com/F28WP-Dubai-Group-6/LunarLander/blob/7d6d86f3c8bd8642cefc78ddaf18e783d5333d45/server/src/Game/Collision.js#L33
Potential Solution
Guard the damage routine with an if block. Only allow subtraction of damage if the health is greater than 0.
The text was updated successfully, but these errors were encountered: