Skip to content

Commit

Permalink
std string better imo
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgRod committed Jan 18, 2025
1 parent c9885fb commit 2c50f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modify/FMODAudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using namespace geode::prelude;

class $modify(MyFMODAudioEngine, FMODAudioEngine) {
public:
void playMusic(gd::string name, bool shouldLoop, float fadeInTime, int channel) {
void playMusic(std::string name, bool shouldLoop, float fadeInTime, int channel) {
log::debug("Playing music: {}", name);
std::string newName = "ninxout.wav"_spr;
if ((name.find("menuLoop.mp3") != std::string::npos) && Mod::get()->getSettingValue<bool>("menu-loop")) {
Expand Down

0 comments on commit 2c50f69

Please sign in to comment.