Skip to content

Commit f2c094a

Browse files
committed
1.2.1
1 parent 86be82c commit f2c094a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Hacks/Speedhack.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ bool stringToFloat(const std::string& str, float& result) {
7878

7979
void myUpdate(CCScheduler* ins, float dt)
8080
{
81+
if (!masterGroup)
82+
FMODAudioEngine::sharedEngine()->m_system->getMasterChannelGroup(&masterGroup);
83+
8184
if (SpeedhackTop::instance)
8285
{
8386
if (SpeedhackEnabled::instance->enabled)

0 commit comments

Comments
 (0)