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

[bugfix] default duration on decaying items with no min or maxvalue set #4725

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

Coldensjo
Copy link
Contributor

@Coldensjo Coldensjo commented Jun 3, 2024

This fixes an issue with items that have no min or max value set. For example.
Before:
<attribute key="duration" value="300"/>
Means duration 1-300 seconds.
After
<attribute key="duration" value="300"/>
Means duration 300-300 seconds.
Same as
<attribute key="duration" minvalue="300" maxvalue="300"/>

problem was introduced in #4531

@EvilHero90 EvilHero90 added this to the 1.6 milestone Jun 3, 2024
@EvilHero90 EvilHero90 changed the title bug fix: default duration on decaying items with no min or maxvalue set [bugfix] default duration on decaying items with no min or maxvalue set Jun 3, 2024
Copy link
Contributor

@EvilHero90 EvilHero90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works fine now

@EvilHero90 EvilHero90 merged commit 262652b into otland:master Jun 3, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants