From e7f22017026be84764c382a01ba18b8508abc4b8 Mon Sep 17 00:00:00 2001 From: Hattrick HttrckCldHKS Date: Wed, 12 Sep 2018 17:36:54 +0300 Subject: [PATCH] Remove useless fmt call @ imessage.sma --- plugins/imessage.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/imessage.sma b/plugins/imessage.sma index edc208e2..346eb3ac 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -60,7 +60,7 @@ public infoMessage() new hostname[64]; get_cvar_string("hostname", hostname, charsmax(hostname)); - replace(Message, charsmax(Message), "%version%", fmt("%s.%s", AMXX_VERSION_MAJOR, AMXX_VERSION_MINOR)); + replace(Message, charsmax(Message), "%version%", AMXX_VERSION_MAJOR + "." + AMXX_VERSION_MINOR); replace(Message, charsmax(Message), "%hostname%", hostname); set_hudmessage(values[0], values[1], values[2], X_POS, Y_POS, 0, 0.5, HOLD_TIME, 2.0, 2.0, -1);