Util_FixModel: Add another hack to fix hostages spawning on cs_747.

This commit is contained in:
Marco Cawthorne 2021-03-17 11:49:41 +01:00
parent 3d1041fcf6
commit f553a79250
1 changed files with 3 additions and 0 deletions

View File

@ -55,5 +55,8 @@ string Util_FixModel(string mdl)
/* Kill the first / again */
mdl = substring(mdl, 1, strlen(mdl)-1);
if (substring(mdl, 0, 1) == "/")
mdl = substring(mdl, 1, -1);
return mdl;
}