Skip to content

Commit

Permalink
[s] Fixes cursed stomach vomitcrawl CC exploit (#22828)
Browse files Browse the repository at this point in the history
* Who knew vomit could be useful

* Revert "Who knew vomit could be useful"

This reverts commit c875342.

* Vomitcrawling prevention

* Mapping helpers
  • Loading branch information
Oblisk234 authored Dec 8, 2024
1 parent ca67ed6 commit 0dfd427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yogstation/code/datums/components/crawl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -447,5 +447,5 @@ GLOBAL_LIST_EMPTY(vomit_spots)

/obj/effect/dummy/crawling/vomit/proc/follow_vomit()
var/turf/T = get_turf(currentvomit)
if(T)
if(T && !(is_centcom_level(T.z)||is_reserved_level(T.z)))
forceMove(T)

0 comments on commit 0dfd427

Please sign in to comment.