From d159955bbd09e208a9ccb52a0bd62f1ce7d3aee9 Mon Sep 17 00:00:00 2001 From: Medik Date: Mon, 30 Sep 2024 15:22:12 +0100 Subject: [PATCH] Max battlemap size (EOP V4) --- M2TWEOP Code/M2TWEOP library/luaPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp b/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp index 3b9743ff..0acde677 100644 --- a/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp +++ b/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp @@ -450,7 +450,7 @@ sol::state* luaPlugin::init(std::string& luaFilePath, std::string& modPath) @usage M2TWEOP.setBattlemapSize(500,500); */ - tables.M2TWEOP.set_function("setBattlemapSize", &gameHelpers::setMaxBgSize); + tables.M2TWEOP.set_function("setBattlemapSize", &gameHelpers::setBattlemapSize); /*** Sets the new maximum soldier count.