Skip to content

Commit

Permalink
Merge pull request #236 from gemidyne/hotfix/v5.2.4
Browse files Browse the repository at this point in the history
Hotfix/v5.2.4
  • Loading branch information
Steven authored May 18, 2022
2 parents 4f6c9c1 + f2413e6 commit a58bd78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/scripting/AS-MicroTF2.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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_"

Expand Down
7 changes: 3 additions & 4 deletions src/scripting/Bossgames/Bossgame7.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a58bd78

Please sign in to comment.