Skip to content
Snippets Groups Projects
Commit 494354da authored by dg's avatar dg
Browse files

Fix arena start crash

Stair up in Yillkgur has a tile


git-svn-id: http://svn.net-core.org/repos/t-engine4@3888 51575b47-30f0-44d4-a5cc-537603b46e54
parent d1078006
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ return {
return ranks[rank]
end,
updateScores = function(l)
local scores = world.arena.scores
local scores = world.arena.scores or {}
table.insert(scores, l)
table.sort(scores, function(a,b) return a.score > b.score end)
if #scores > 10 then table.remove(scores) end
......
......@@ -20,12 +20,10 @@
load("/data/general/grids/basic.lua")
load("/data/general/grids/fortress.lua")
newEntity{
newEntity{ base = "UP",
define_as = "LAKE_NUR",
name = "stair back to the lake of Nur",
display = '<', color_r=255, color_g=255, color_b=0,
notice = true,
always_remember = true,
change_level = 3, change_zone = "lake-nur", force_down = true,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment