Skip to content

Commit

Permalink
what about this?
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBearodactyl authored Apr 6, 2024
1 parent 6a79002 commit b862ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class $modify(PlayerObject) {
class $modify(PlayLayer) {
void postUpdate(float p0) {
float speed = Mod::get()->getSettingValue<double>("speed");
float saturation = Mod::get() -> getSettingValue<double>("saturation");
float saturation = Mod::get()->getSettingValue<double>("saturation");

if (g >= 360) {
g = 0;
Expand All @@ -92,7 +92,7 @@ class $modify(PlayLayer) {
auto rainbowColor2 = getRainbow(180, saturation);
auto rainbowColor3 = getRainbow(90, saturation);
bool enable = Mod::get()->getSettingValue<bool>("enable");
bool isQolmodLoaded = Loader::isModLoaded("TheSillyDoggo.Cheats");
bool isQolmodLoaded = Loader::get()->isModLoaded("TheSillyDoggo.Cheats");

if (enable == true) {
if (m_player1->m_waveTrail) {
Expand Down

0 comments on commit b862ced

Please sign in to comment.