Skip to content

fix: Avoid teleporting staff to Newhaven on login/death - #779

Merged
jprzimba merged 1 commit into
mainfrom
fix-god-save
Jun 19, 2026
Merged

fix: Avoid teleporting staff to Newhaven on login/death#779
jprzimba merged 1 commit into
mainfrom
fix-god-save

Conversation

@jprzimba

Copy link
Copy Markdown
Collaborator
  • Add group-access guard to on_death_newhaven and on_login_newhaven so characters with staff access are not auto-teleported when they have VOCATION_NONE.
  • On login, also add a storage check (Storage.Quest.U15_12.newhavenCitizen <= 0) so the teleport only happens once, preventing repeated/looping teleports for the same player.

@jprzimba
jprzimba merged commit ed9cfa9 into main Jun 19, 2026
14 checks passed
@jprzimba
jprzimba deleted the fix-god-save branch June 19, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant