mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Fix GetProtocolVersion
This commit is contained in:
parent
b6086ab015
commit
94f6ab30f2
@ -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();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user