1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:53:51 +00:00
This commit is contained in:
David Cernat 2016-09-28 14:29:37 +03:00
commit 684caf7791

View file

@ -128,5 +128,6 @@ const char *ScriptFunctions::GetServerVersion() noexcept
const char *ScriptFunctions::GetProtocolVersion() noexcept
{
return to_string((int)TES3MP_PROTO_VERSION).c_str();
static string version = to_string(TES3MP_PROTO_VERSION);
return version.c_str();
}