Skip to content

Commit

Permalink
Fixes a barricade balloon runtime (tgstation#89043)
Browse files Browse the repository at this point in the history
## About The Pull Request

balloon_alert is async and thus should not be called on objects that are
about to qdelete
  • Loading branch information
SmArtKar authored Jan 14, 2025
1 parent 97bd493 commit 1df0a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/deployable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
balloon_alert(user, "deconstructing barricade...")
if(!tool.use_tool(src, user, 2 SECONDS, volume=50))
return
balloon_alert(user, "barricade deconstructed")
loc.balloon_alert(user, "barricade deconstructed")
tool.play_tool_sound(src)
new /obj/item/stack/sheet/mineral/wood(get_turf(src), drop_amount)
qdel(src)
Expand Down

0 comments on commit 1df0a80

Please sign in to comment.