From 6800ccf843e0fe4d36fe6fa0aab4eef8b5966e33 Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Wed, 26 Mar 2014 00:24:23 -0700 Subject: [PATCH] Made mods show up in correct order once and for all. --- hack/scripts/gui/mod-manager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/scripts/gui/mod-manager.lua b/hack/scripts/gui/mod-manager.lua index 2d0fefe..83e3027 100644 --- a/hack/scripts/gui/mod-manager.lua +++ b/hack/scripts/gui/mod-manager.lua @@ -114,7 +114,7 @@ function manager:init(args) if v~="." and v~=".." then local f,modData=pcall(dofile,dfhack.getHackPath().."/mods/".. v .. "/init.lua") if f then - mods[modData.loadnum]=modData + mods[modData.name]=modData modData.guard=modData.guard or {">>"..modData.name.." patch","<