diff --git a/src/openrct2/actions/SetCheatAction.hpp b/src/openrct2/actions/SetCheatAction.hpp index 77f8c83c35..20de14eb3b 100644 --- a/src/openrct2/actions/SetCheatAction.hpp +++ b/src/openrct2/actions/SetCheatAction.hpp @@ -691,7 +691,10 @@ private: { auto peep = GET_PEEP(spriteIndex); spriteIndex = peep->next; - peep->Remove(); + if (peep->type == PEEP_TYPE_GUEST) + { + peep->Remove(); + } } window_invalidate_by_class(WC_RIDE);