Skip to content

Commit

Permalink
Fixes admin wall deletions (#14045)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmixo authored Sep 30, 2023
1 parent 8ff10d7 commit 10570eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/admin/debug_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@
log_admin("[key_name(usr)] deleted [A]([A.type]) at [AREACOORD(T)].")
message_admins("[ADMIN_TPMONTY(usr)] deleted [A]([A.type]) at [ADMIN_VERBOSEJMP(T)].")

if(isturf(A))
var/turf/deleting_turf = A
deleting_turf.ScrapeAway()
return

qdel(A)


Expand Down

0 comments on commit 10570eb

Please sign in to comment.