Skip to content

fix(Daedalus): fix member registration for G2 classic#116

Merged
lmichaelis merged 1 commit into
GothicKit:mainfrom
thokkat:g2classic
Nov 24, 2025
Merged

fix(Daedalus): fix member registration for G2 classic#116
lmichaelis merged 1 commit into
GothicKit:mainfrom
thokkat:g2classic

Conversation

@thokkat
Copy link
Copy Markdown
Contributor

@thokkat thokkat commented Nov 24, 2025

G2 exclusive class members for C_NPC and C_ITEM are currently registered based on a check if effect exists as member.

Problem is this is the only member that didn't exist in G2 classic but was later introduced in the Addon. Add a separate check for effect to have other members properly registered in case G2 classic is used.

Reported as bug in Try/OpenGothic#840.

G2 exclusive class members for `C_NPC` and `C_ITEM` are currently
registered based on a check if `effect` exists as member.

Problem is this is the only member that didn't exist in G2 classic but
was later introduced in the Addon. Add a separate check for `effect` to
have other members properly registered in case G2 classic is used.

Reported as bug in Try/OpenGothic#840.
@lmichaelis
Copy link
Copy Markdown
Member

Heyo, thank you for the fix! Looks good to me, so I'll merge it :)

@lmichaelis lmichaelis added the bug Something isn't working label Nov 24, 2025
@lmichaelis lmichaelis merged commit 54b826a into GothicKit:main Nov 24, 2025
12 checks passed
@thokkat thokkat deleted the g2classic branch November 24, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants