Merge branch 'master' of https://github.com/Gerold55/laptop into pr_tetris
This commit is contained in:
commit
183c8ddba0
@ -118,7 +118,7 @@ laptop.register_app("tntsweeper", {
|
||||
formspec = formspec .. "image_button["..pos..";"..config.icon_size..","..config.icon_size..";"..mtos.theme.minor_button..";field:"..w..":"..h..";]"
|
||||
end
|
||||
elseif field.is_bomb then
|
||||
formspec = formspec .. "image["..pos..";"..config.icon_size..","..config.icon_size..";tnt_boom.png]"
|
||||
formspec = formspec .. "image["..pos..";"..config.icon_size..","..config.icon_size..";laptop_boom.png]"
|
||||
elseif field.count > 0 then
|
||||
local lbpos = ((w+0.4)*config.icon_size*0.8)..','..((h+0.1)*config.icon_size*0.85)
|
||||
formspec = formspec .. mtos.theme:get_label(lbpos, field.count)
|
||||
|
@ -1,2 +1,2 @@
|
||||
default
|
||||
tnt
|
||||
|
||||
|
BIN
textures/laptop_boom.png
Normal file
BIN
textures/laptop_boom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 442 B |
Loading…
x
Reference in New Issue
Block a user