make npc_gives/npc_wants work again

This commit is contained in:
Sokomine 2021-07-03 21:59:13 +02:00
parent 5cf3e412c5
commit 52267f0b2b

View File

@ -586,8 +586,7 @@ yl_speak_up.save_element_p_or_a_or_e = function(
show_save_msg = "size[9,2.5]"..
"label[0.2,0.5;The information was saved successfully.\n"..
"The item has been returned to your inventory.]"..
"button[1.5,2.0;2,0.9;back_from_error_msg;Back]"
return
"button[1.5,2.0;2,0.9;back_from_saving;Back]"
-- "The player has to manually enter a password or passphrase or some other text.", -- 6
elseif(data.what and id_prefix == "a_" and data.what == 6) then