Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions yogstation/code/datums/components/crawl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ GLOBAL_LIST_EMPTY(vomit_spots)
index = index == 1 ? GLOB.vomit_spots.len : index - 1
else
index = index == GLOB.vomit_spots.len ? 1 : index + 1
var/atom/vomit_spot = GLOB.vomit_spots[index]
if(vomit_spot.z != src.z)
follow_next(reverse) //im sure this will have no ill effects since a GLOB.vomit_spots of 1 means there's at least your pace to pop out RIGHT
return
currentvomit = GLOB.vomit_spots[index]
follow_vomit()

Expand Down