Skip to content

Commit

Permalink
fix it being slow lol
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBearodactyl committed Nov 4, 2024
1 parent 4bc22da commit b0e16db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
# set(GEODE_BINDINGS_REPO_PATH "D:\\Projects\\gay-wave-trail\\bindings\\")
#set(GEODE_BINDINGS_REPO_PATH "D:\\Projects\\gay-wave-trail\\bindings\\")

project(gay-wave-trail VERSION 1.0.0)

Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct MyPlayLayer : Modify<MyPlayLayer, PlayLayer> {
void postUpdate(float p0) {
PlayLayer::postUpdate(p0);

float speed = Mod::get()->getSettingValue<double>("speed");
float speed = Mod::get()->getSettingValue<double>("speed") * 10.0f;
float saturation = Mod::get()->getSettingValue<double>("saturation");

std::vector<std::string> color_strings = Mod::get()->getSettingValue<MultiStringSettingStruct>("colors-list").m_strings;
Expand Down Expand Up @@ -153,4 +153,4 @@ struct MyPlayerObject : Modify<MyPlayerObject, PlayerObject> {
Mod::get()->addCustomSetting<SettingSectionValue>("chaos-section", "none");
Mod::get()->addCustomSetting<MultiStringSettingValue>("colors-list",
Mod::get()->getSettingDefinition("colors-list")->get<CustomSetting>()->json->get<std::vector<std::string>>("default"));
}
}

0 comments on commit b0e16db

Please sign in to comment.