Skip to content

Commit

Permalink
Just a tid bit cleaner but still a dirt hack
Browse files Browse the repository at this point in the history
Signed-off-by: djpadbit <[email protected]>
  • Loading branch information
djpadbit committed Jan 3, 2019
1 parent 98664d5 commit b2d3119
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public static void setLastSoundCategory(final SoundCategory sc) {
* CALLED BY ASM INJECTED CODE!
*/
public static void setLastSoundName(final String soundName, final String eventName) {
lastSoundName = soundName+"||"+eventName; // Quick hack to check the event and sound name
lastSoundName = eventName+"|"+soundName.split(":")[1]; // Quick and dirty hack to check the event and sound name
}

/**
Expand Down

0 comments on commit b2d3119

Please sign in to comment.