diff --git a/src/LuaEngine/methods/PlayerMethods.h b/src/LuaEngine/methods/PlayerMethods.h index c39801fc98..f8862615a7 100644 --- a/src/LuaEngine/methods/PlayerMethods.h +++ b/src/LuaEngine/methods/PlayerMethods.h @@ -1881,7 +1881,7 @@ namespace LuaPlayer uint16 currVal = ALE::CHECKVAL(L, 4); uint16 maxVal = ALE::CHECKVAL(L, 5); - player->SetSkill(id, currVal, maxVal, step); + player->SetSkill(id, step, currVal, maxVal); return 0; }