Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM committed Jun 28, 2023
1 parent 67814fb commit 37d044a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions code/modules/admin/tabs/event_tab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -885,13 +885,18 @@
warhead = OBShell

if(custom)
if(alert(usr, statsmessage, "Confirm Stats", "Yes", "No") != "Yes") return
if(alert(usr, statsmessage, "Confirm Stats", "Yes", "No") != "Yes")
qdel(warhead)
return
message_admins(statsmessage)

var/turf/target = get_turf(usr.loc)

if(alert(usr, "Fire or Spawn Warhead?", "Mode", "Fire", "Spawn") == "Fire")
if(alert("Are you SURE you want to do this? It will create an OB explosion!",, "Yes", "No") != "Yes") return
if(alert("Are you SURE you want to do this? It will create an OB explosion!",, "Yes", "No") != "Yes")
qdel(warhead)
return

message_admins("[key_name(usr)] has fired \an [warhead.name] at ([target.x],[target.y],[target.z]).")
warhead.warhead_impact(target)

Expand Down

0 comments on commit 37d044a

Please sign in to comment.