Skip to content

Commit 412b875

Browse files
committed
Fixed another spelling mistake that could cause the program to error out
1 parent 8443c3f commit 412b875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/music.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function music.isInGame()
8585
return true
8686
end
8787
if memory.menu_major == MENU_VS_MODE then
88-
return memory.menu_minor == MENU_VS_INGAME and not memory.match.finished
88+
return memory.menu_minor == MENU_VS_INGAME
8989
end
9090
if memory.menu_major >= MENU_TRAINING_MODE and memory.menu_major <= MENU_STAMINA_MODE or memory.menu_major == MENU_FIXED_CAMERA_MODE then
9191
return memory.menu_minor == MENU_TRAINING_INGAME
@@ -155,7 +155,7 @@ function music.isInMenus()
155155
return memory.menu_minor == MENU_CLASSIC_CSS
156156
end
157157
if memory.menu_major == MENU_TARGET_TEST then
158-
return memory.menu_minor == MENU_TARGET_TEST_CSSS
158+
return memory.menu_minor == MENU_TARGET_TEST_CSS
159159
end
160160
if memory.menu_major >= MENU_SUPER_SUDDEN_DEATH and memory.menu_major <= MENU_LIGHTNING_MELEE then
161161
return memory.menu_minor == MENU_SSD_CSS or memory.menu_minor == MENU_SSD_SSS

0 commit comments

Comments
 (0)