From 2aa17fff22440a681b6d795f8f7e97b1d36ca2b6 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Tue, 8 Mar 2022 19:14:53 -0600 Subject: [PATCH] Exposed Mapbase version integer to VScript --- sp/src/vscript/vscript_bindings_base.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sp/src/vscript/vscript_bindings_base.cpp b/sp/src/vscript/vscript_bindings_base.cpp index e407af5e..69ca2187 100644 --- a/sp/src/vscript/vscript_bindings_base.cpp +++ b/sp/src/vscript/vscript_bindings_base.cpp @@ -460,6 +460,7 @@ void RegisterBaseBindings( IScriptVM *pVM ) //----------------------------------------------------------------------------- ScriptRegisterConstant( pVM, MAPBASE_VERSION, "The current Mapbase version according to when the VScript library was last compiled." ); + ScriptRegisterConstant( pVM, MAPBASE_VER_INT, "The current Mapbase version integer according to when the VScript library was last compiled." ); // // Math/world