diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 14987b91..a8f6d737 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -1231,6 +1231,9 @@ function playermatRemovalSelected(player, selectedIndex, id) -- info dialog that it is already deleted player.showInfoDialog(matColor .. "'s playermat has already been removed.") end + + -- set selected value back to first option + UI.setAttribute(id, "value", 0) end -- removes a playermat and all related objects from play diff --git a/xml/Global/OptionPanel.xml b/xml/Global/OptionPanel.xml index 6872557c..fe3b38d1 100644 --- a/xml/Global/OptionPanel.xml +++ b/xml/Global/OptionPanel.xml @@ -309,7 +309,7 @@ - +