mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-28 14:36:23 +01:00
Fixes the deletion of bellies when you click cancel...I hope?
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user