Skip to content

Commit

Permalink
we should, like... probably stop here if this dialogue is cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Feb 5, 2024
1 parent d5779fe commit e062b2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/admin/player_panel/actions/punish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
return

var/internal_reason = tgui_input_text(user, "What's the reason for the ban? This is shown internally, and not displayed in public notes and ban messages. Include as much detail as necessary.", "Permanent Ban", multiline = TRUE, encode = FALSE)
if(!internal_reason)
return

var/datum/entity/player/target_entity = target.client?.player_data
if(!target_entity)
Expand Down

0 comments on commit e062b2d

Please sign in to comment.