Skip to content

Remove the possibility of ReloadDelay becoming 0 with modifiers - #21074

Merged
abcdefg30 merged 1 commit into
OpenRA:bleedfrom
PunkPun:fix-reload
Oct 17, 2023
Merged

Remove the possibility of ReloadDelay becoming 0 with modifiers#21074
abcdefg30 merged 1 commit into
OpenRA:bleedfrom
PunkPun:fix-reload

Conversation

@PunkPun

@PunkPun PunkPun commented Sep 25, 2023

Copy link
Copy Markdown
Member

Fixes #21073

@PunkPun PunkPun added this to the Next + 1 milestone Sep 25, 2023

@MustaphaTR MustaphaTR left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can confirm that it fixes the freeze issue.

@michaeldgg2

Copy link
Copy Markdown
Contributor

Doesn't this change the behavior #21073 originally wanted to solve? That is not needing separate armaments for actors with two barrels?

@PunkPun

PunkPun commented Sep 26, 2023

Copy link
Copy Markdown
Member Author

having reload delay of 0 was never supposed to be allowed. I had explicitly added a check to crash the game if the game defined such a value

@MustaphaTR

Copy link
Copy Markdown
Member

Doesn't this change the behavior #21073 originally wanted to solve? That is not needing separate armaments for actors with two barrels?

It is BurstDelay: 0 that was fixed, not ReloadDelay.

@anvilvapre anvilvapre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

untested.

@abcdefg30
abcdefg30 merged commit feced55 into OpenRA:bleed Oct 17, 2023
@abcdefg30

Copy link
Copy Markdown
Member

Changelog

@PunkPun
PunkPun deleted the fix-reload branch October 17, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modifiers can lead to ReloadDelay becoming 0, freezing the game when unit fires.

5 participants