@@ -23,7 +23,7 @@ local Mods = {}
2323setmetatable (Mods , {})
2424
2525-- Version number
26- local VERSION = ' 1.2 '
26+ local VERSION = ' 1.3 '
2727
2828-- Keep the player options from the enabled players that are available.
2929local POptions = {}
@@ -86,8 +86,10 @@ local function ApplyMods()
8686 else
8787 POptions [pn ][mod ](POptions [pn ], percent * 0.01 , 9e9 )
8888 end
89- elseif mod :sub ( 2 ): lower () == ' mod ' then
89+ elseif mod :lower () == ' xmod ' then
9090 modstring = modstring .. ' *-1 ' .. percent .. mod :sub (1 , 1 ):lower ().. ' ,'
91+ elseif mod :sub (2 ):lower () == ' mod' then
92+ modstring = modstring .. ' *-1 ' .. mod :sub (1 , 1 ):lower ().. percent .. ' ,'
9193 else
9294 modstring = modstring .. ' *-1 ' .. (percent ).. ' ' .. mod :lower ().. ' ,'
9395 end
@@ -99,8 +101,10 @@ local function ApplyMods()
99101 else
100102 POptions [pn ][mod ](POptions [pn ], percent * 0.01 , 9e9 )
101103 end
102- elseif mod :sub ( 2 ): lower () == ' mod ' then
104+ elseif mod :lower () == ' xmod ' then
103105 modstring = modstring .. ' *-1 ' .. percent .. mod :sub (1 , 1 ):lower ().. ' ,'
106+ elseif mod :sub (2 ):lower () == ' mod' then
107+ modstring = modstring .. ' *-1 ' .. mod :sub (1 , 1 ):lower ().. percent .. ' ,'
104108 else
105109 modstring = modstring .. ' *-1 ' .. (percent ).. ' ' .. mod :lower ().. ' ,'
106110 end
0 commit comments