fix rendering error when using non-animated room name

This commit is contained in:
Franzi 2023-09-30 19:09:13 +02:00
parent b3dab53d13
commit a07249567f

View file

@ -363,7 +363,7 @@ local function view_room(starts, ends, config, x1, y1, x2, y2)
if animate then if animate then
a.draw(now, x1, y1, x2, y2) a.draw(now, x1, y1, x2, y2)
else else
font:write(x1+x, y1, line, font_size, r,g,b,1) font:write(x1+x, y1, current_room, font_size, r,g,b,1)
end end
end end
end end