From 24176b4e0054e9444ae4e8bef731290cea138d24 Mon Sep 17 00:00:00 2001 From: S34NW <12197162+S34NW@users.noreply.github.com> Date: Fri, 10 Sep 2021 23:22:01 +0100 Subject: [PATCH] okay we know the note ID is here somewhere --- code/modules/admin/topic.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 8476f92eec2..f3804f86c50 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -982,9 +982,8 @@ else if(href_list["removenote"]) var/note_id = href_list["removenote"] - if(note_id) - if((alert("Do you really want to delete this note?","Note deletion confirmation", "Yes", "No") == "Yes") && note_id) - remove_note(note_id) + if((alert("Do you really want to delete this note?","Note deletion confirmation", "Yes", "No") == "Yes")) + remove_note(note_id) else if(href_list["editnote"]) var/note_id = href_list["editnote"]