Fixes the deletion of bellies when you click cancel...I hope?

This commit is contained in:
Jon
2018-12-15 01:35:25 +00:00
parent 7059f03039
commit e4a883c7ff
+3 -2
View File
@@ -713,8 +713,9 @@
selected.digestchance = sanitize_integer(digest_chance_input, 0, 100, initial(selected.digestchance))
if(href_list["b_del"])
var/alert = alert("Are you sure you want to delete your [lowertext(selected.name)]?","Confirmation","Delete","Cancel")
if(!alert == "Delete")
if(alert("Are you sure you want to delete your [lowertext(selected.name)]?","Confirmation","Delete","Cancel") == "Cancel")
user << "alert not Delete"
return 0
var/failure_msg = ""