Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

equipment editor ignores inheritance #1501

Open
wgetJane opened this issue Apr 2, 2024 · 1 comment
Open

equipment editor ignores inheritance #1501

wgetJane opened this issue Apr 2, 2024 · 1 comment

Comments

@wgetJane
Copy link
Contributor

wgetJane commented Apr 2, 2024

Your version of TTT2 (mandatory)

latest workshop version

Describe the bug (mandatory)

the equipment editor will force placeholder values on inherited fields

for example, a weapon that's based on a class with the field Kind set to 2 will be forced to have its Kind set to the placeholder value of 3 anyway if it inherits the Kind field from its base class

@TimGoll TimGoll added the type/bug Something isn't working label Apr 5, 2024
@TimGoll TimGoll added this to the Bugfix Backlog milestone Apr 5, 2024
@TimGoll
Copy link
Member

TimGoll commented Aug 18, 2024

I investigated this issue for two hours now, but I'm unable to fix it for now. Just some notes for the future:

  • General inheritance works, it only breaks when the value is database handled
  • it is set in ShopEditor.InitDefaultData and uses the default value. It should use the inherited value, but aparantly it doesn't, maybe it is some timing issue?

@Histalek Histalek removed the type/bug Something isn't working label Oct 2, 2024
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

No branches or pull requests

3 participants