Skip to content

Commit

Permalink
Release 0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyyyyy committed Feb 8, 2015
1 parent 685aaa3 commit 6a39673
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 0Base/Base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ do
end

local _JH = {
dwVersion = 0x0080400,
dwVersion = 0x0080500,
szTitle = _L["JH"],
tHotkey = {},
tDelayCall = {},
Expand Down
14 changes: 8 additions & 6 deletions Circle/Circle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,16 @@ C.LoadSingleData = function(mapid, data)
return JH.Alert(_L["The map does not exist"])
end
local map = C.GetMapType(mapid)
if map.bDungeon then
if #C.tData[mapid] < CIRCLE_MAP_COUNT[mapid] then
tinsert(C.tData[mapid], data)
if map then
if map.bDungeon then
if #C.tData[mapid] < CIRCLE_MAP_COUNT[mapid] then
tinsert(C.tData[mapid], data)
else
JH.Sysmsg2(_L("%s Unable to add more data", _L["this map"]))
end
else
JH.Sysmsg2(_L("%s Unable to add more data", _L["this map"]))
tinsert(C.tData[mapid], data)
end
else
tinsert(C.tData[mapid], data)
end
FireEvent("CIRCLE_CLEAR")
FireEvent("CIRCLE_DRAW_UI")
Expand Down

0 comments on commit 6a39673

Please sign in to comment.