Remove useless fmt call @ scrollmsg.sma

This commit is contained in:
Hattrick HttrckCldHKS 2018-09-12 17:37:30 +03:00 committed by GitHub
parent e7f2201702
commit 44b32e30b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ public msgInit()
new hostname[64] new hostname[64]
get_cvar_string("hostname", hostname, charsmax(hostname)) get_cvar_string("hostname", hostname, charsmax(hostname))
replace(g_scrollMsg, charsmax(g_scrollMsg), "%version%", fmt("%s.%s", AMXX_VERSION_MAJOR, AMXX_VERSION_MINOR)) replace(g_scrollMsg, charsmax(g_scrollMsg), "%version%", AMXX_VERSION_MAJOR + "." + AMXX_VERSION_MINOR)
replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname) replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname)
g_Length = strlen(g_scrollMsg) g_Length = strlen(g_scrollMsg)