diff --git a/main.lua b/main.lua index ef790919..ee3a4358 100644 --- a/main.lua +++ b/main.lua @@ -65,10 +65,10 @@ EID.ModIndicator = { } -- Useful to associate items to mods EID._currentMod = "" local OldRegisterMod = RegisterMod -RegisterMod = function (modName, apiVersion) +RegisterMod = function (modName, apiVersion, ...) EID._currentMod = modName EID.ModIndicator[modName] = { Name = modName, Icon = nil } - return OldRegisterMod(modName, apiVersion) + return OldRegisterMod(modName, apiVersion, ...) end ------- Load all modules and other stuff ------ @@ -1176,4 +1176,4 @@ end if EID.enableDebug then require("eid_debugging") -end \ No newline at end of file +end