From f2413e6237c4594c208b9b4115905322b32667da Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 18 May 2022 19:58:28 +0100 Subject: [PATCH] Fix build error; bump version --- src/scripting/AS-MicroTF2.sp | 2 +- src/scripting/Bossgames/Bossgame7.sp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 65cdf2c8..91f329e9 100644 --- a/src/scripting/Bossgames/Bossgame7.sp +++ b/src/scripting/Bossgames/Bossgame7.sp @@ -989,8 +989,8 @@ public int GetEntityId(const char[] entityType, const char[] name) public void Bossgame7_PlaySnd(int client, const char[] file) { char path[MAX_PATH_LENGTH]; - Format(path, sizeof(path), "play %s", file); - Sounds_ConvertTokens(sound, path, sizeof(path)); + Sounds_ConvertTokens(file, path, sizeof(path)); + Format(path, sizeof(path), "play %s", path); ClientCommand(client, path); }