mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -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
|
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