mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 11:53:51 +00:00
Merge branch 'master' of https://github.com/TES3MP/openmw-tes3mp
This commit is contained in:
commit
684caf7791
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue