fix smol ui bug

This commit is contained in:
Tuomas Katajisto 2025-10-07 22:25:25 +03:00
parent bfc0c6cc39
commit 4ffcbdab19

View File

@ -259,7 +259,7 @@ draw_tools_tab :: (theme: *GR.Overall_Theme, total_r: GR.Rect) {
groundType = .WATER;
}
r.y += r.h;
if GR.button(r, "Sand", *t_button_selectable(theme, groundType == .WATER)) {
if GR.button(r, "Sand", *t_button_selectable(theme, groundType == .SAND)) {
groundType = .SAND;
}
}