mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
fix wrong variable used in LessStupidGetMapDisplayName
This commit is contained in:
parent
b468f9d67a
commit
afa6b07da8
@ -283,8 +283,8 @@ stock void LessStupidGetMapDisplayName(const char[] map, char[] displayName, int
|
||||
strcopy(temp, sizeof(temp), map);
|
||||
ReplaceString(temp, sizeof(temp), "\\", "/", true);
|
||||
|
||||
int slashpos = FindCharInString(map, '/', true);
|
||||
strcopy(temp2, sizeof(temp2), map[slashpos+1]);
|
||||
int slashpos = FindCharInString(temp, '/', true);
|
||||
strcopy(temp2, sizeof(temp2), temp[slashpos+1]);
|
||||
|
||||
int ugcpos = StrContains(temp2, ".ugc", true);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user