Skip to content

Role registration system changes - #984

Merged
Malivil merged 1 commit into
Custom-Roles-for-TTT:devfrom
Malivil:dev
Aug 23, 2026
Merged

Role registration system changes#984
Malivil merged 1 commit into
Custom-Roles-for-TTT:devfrom
Malivil:dev

Conversation

@Malivil

@Malivil Malivil commented Aug 23, 2026

Copy link
Copy Markdown
Member

Changelog

  • Changed role registration system so role hooks are only removed in the prep phase of the next round
    • This fixes some issues with role logic ending early or experiencing odd bugs when a player's role is changed after their role ability is already active
    • Also removes UnregisterRoleHooks global method

Affected Issues

Checklist

  • Tested in-game
  • Release Notes updated
  • API Docs updated
    • Markdown
    • Website (changes marked with "beta only" notation if applicable)
  • If this is for a new role:
    • Icons created
    • Tutorial created
    • Documentation
      • CONVARS.md
      • Website (changes marked with "beta only" notation if applicable)
    • ConVars added to ULX list
    • plymeta:IsRoleAbilityDisabled used
  • Otherwise:
    • Documentation
      • CONVARS.md
      • Website (changes marked with "beta only" notation if applicable)
    • ULX updated (either added to list of convars for a role, or PR created in ULX repo [Add link below])

…the prep phase of the next round

    - This fixes some issues with role logic ending early or experiencing odd bugs when a player's role is changed after their role ability is already active
    - Also removes `UnregisterRoleHooks` global method
@Malivil
Malivil merged commit 8885e71 into Custom-Roles-for-TTT:dev Aug 23, 2026
1 check passed
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