diff --git a/src/luascript.cpp b/src/luascript.cpp index a82fd77b89..366bab2c60 100644 --- a/src/luascript.cpp +++ b/src/luascript.cpp @@ -13832,8 +13832,8 @@ int LuaScriptInterface::luaMonsterTypeAddSummon(lua_State* L) if (monsterType) { summonBlock_t summon; summon.name = getString(L, 2); - summon.chance = getNumber(L, 3); - summon.speed = getNumber(L, 4); + summon.speed = getNumber(L, 3); + summon.chance = getNumber(L, 4); monsterType->info.summons.push_back(summon); pushBoolean(L, true); } else {