diff --git a/src/scripting/AS-MicroTF2.sp b/src/scripting/AS-MicroTF2.sp index 474ba87c..a181cf67 100644 --- a/src/scripting/AS-MicroTF2.sp +++ b/src/scripting/AS-MicroTF2.sp @@ -26,7 +26,7 @@ //#define DEBUG //#define LOGGING_STARTUP -#define PLUGIN_VERSION "5.2.3" +#define PLUGIN_VERSION "5.2.4" #define PLUGIN_PREFIX "\x0700FFFF[ \x07FFFF00WarioWare \x0700FFFF] {default}" #define PLUGIN_MAPPREFIX "warioware_redux_" diff --git a/src/scripting/Bossgames/Bossgame7.sp b/src/scripting/Bossgames/Bossgame7.sp index 75b4167d..91f329e9 100644 --- a/src/scripting/Bossgames/Bossgame7.sp +++ b/src/scripting/Bossgames/Bossgame7.sp @@ -988,10 +988,9 @@ public int GetEntityId(const char[] entityType, const char[] name) public void Bossgame7_PlaySnd(int client, const char[] file) { - char path[128]; - - Format(path, sizeof(path), "play %s", file); - + char path[MAX_PATH_LENGTH]; + Sounds_ConvertTokens(file, path, sizeof(path)); + Format(path, sizeof(path), "play %s", path); ClientCommand(client, path); }