This commit is contained in:
MarcEricMartel
2023-12-18 14:54:14 -05:00
parent 6d07285f43
commit f799e689d2
3 changed files with 6 additions and 4 deletions

View File

@@ -170,7 +170,9 @@ Timestamp Connection::Run(World* world, std::unordered_map<uint64_t, Booster*> b
in.keys.left,
in.keys.right,
in.keys.jump, false, el),
world, el, boosters);
world, el);
player->TakeBooster(boosters, el);
if (player->GetPosition().y < -20.) {
player->InflictDamage(9000.);