aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:02:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:02:28 +0100
commit221b08e07246e84587b4144eca5564ce9ad3a20a (patch)
treed46a71a331ff51a92c1c332e57e0a7c88851a713 /backend
parentca3e80a5b474d99391c253d3173117e955e33a20 (diff)
implement leaderboard functionality
Diffstat (limited to 'backend')
-rw-r--r--backend/Player.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/Player.cpp b/backend/Player.cpp
index f2bc526..5e0cca9 100644
--- a/backend/Player.cpp
+++ b/backend/Player.cpp
@@ -31,10 +31,6 @@ void Player::take_damage(unsigned int dmg) {
auto & hp = this->health_points;
lprtf("Je hebt %s%d levenspunt%s over.\n", hp > 0 ? "nog " : "", hp, hp == 1 ? "" : "en");
-
- if (this->is_dead()) {
- lprtf("Je bent dood gegaan!\n");
- }
}
Location & Player::get_location() const {