invalid texpos is nil now

develop
shevernitskiy 2023-08-15 21:18:52 +03:00
parent 25038648c0
commit bbbb8fbb9c
1 changed files with 1 additions and 1 deletions

@ -75,7 +75,7 @@ function HotspotMenuWidget:onRenderBody(dc)
return dfhack.textures.getTexposByHandle(textures[offset])
end
if tp(1) == -1 then
if tp(1) == nil then
dscreen.paintString(COLOR_WHITE, x, y + 0, '!DF!')
dscreen.paintString(COLOR_WHITE, x, y + 1, '!Ha!')
dscreen.paintString(COLOR_WHITE, x, y + 2, '!ck!')