Skip to content

Commit

Permalink
reduce generator screenshake
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbowman committed Oct 30, 2022
1 parent e26d8f7 commit 6a6ccbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/objects/enemies/elite/generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ class Generator : public Enemy
platform().speaker().play_sound("snd_hit3", 1);
health_ = std::max(0, health_ - dmg);
s.kill();
if (engine().g_.screenshake_ < 3) {
engine().g_.screenshake_ = 3;
if (engine().g_.screenshake_ < 2) {
engine().g_.screenshake_ = 2;
}
return true;
}
Expand Down

0 comments on commit 6a6ccbe

Please sign in to comment.