Fix back button

This commit is contained in:
grorp 2025-01-01 17:30:20 +01:00
parent 5c5ef20589
commit 277acd59dc

View File

@ -512,7 +512,8 @@ local function get_formspec(dialogdata)
"box[0,0;", tostring(tabsize.width), ",", tostring(tabsize.height), ";#0000008C]",
("button[0,%f;%f,0.8;back;%s]"):format(
("%s[0,%f;%f,0.8;back;%s]"):format(
INIT == "pause_menu" and "button_exit" or "button",
tabsize.height + 0.2, back_w, fgettext("Back")),
("box[%f,%f;%f,0.8;#0000008C]"):format(