small fix

it will just return to online character slot one so it will fix the mpx nil error.
This commit is contained in:
iSk1P 2024-12-30 01:33:16 +02:00
parent 9663c47911
commit 86a905d7dd

View File

@ -4,8 +4,10 @@ local function MPX()
local PI = stats.get_int("MPPLY_LAST_MP_CHAR") local PI = stats.get_int("MPPLY_LAST_MP_CHAR")
if PI == 0 then if PI == 0 then
return "MP0_" return "MP0_"
else elseif PI == 1 then
return "MP1_" return "MP1_"
else
return "MP0_"
end end
end end