1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Fix parseColor, change remaining colorkeys to new format, fix Contributor list

This commit is contained in:
Sfan5 2013-07-07 19:54:38 +02:00
parent b3001bcd6e
commit 7e73b7cae9
3 changed files with 15 additions and 19 deletions

View file

@ -365,7 +365,7 @@ function modmgr.render_worldmodlist()
local parts = modmgr.global_mods[i]:split(DIR_DELIM)
local shortname = parts[#parts]
if modmgr.worldconfig.global_mods[shortname] then
retval = retval .. "#GRN" .. modmgr.global_mods[i] .. ","
retval = retval .. "#22F922" .. modmgr.global_mods[i] .. ","
else
retval = retval .. modmgr.global_mods[i] .. ","
end
@ -379,7 +379,7 @@ function modmgr.render_gamemodlist()
local retval = ""
for i=1,#modmgr.worldconfig.game_mods,1 do
retval = retval ..
"#BLU" .. modmgr.worldconfig.game_mods[i] .. ","
"#0000FF" .. modmgr.worldconfig.game_mods[i] .. ","
end
return retval