Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[Vanilla Bug] Enable a disabled Trigger with a difficulty setting is ignoring the diff. setting

Open MarkJFox opened this issue 9 months ago • 0 comments

First Check

  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, debug and exception logs, etc).

Description

You can create Triggers which should only fire on specific difficulties (In WAE with the checkboxes for Easy, Medium and Hard) like give the player extra money on easy. And you can also disable triggers from the start and enable them with another trigger. If you enable a pre-disabled trigger, which should only fire on specific difficulty, the trigger ignores the difficulty and gets fired. The difficulty setting works only, if the trigger is enabled on start.

Required Code (optional)

No response

Steps To Reproduce

Just an example: Create a trigger for easy and check the disable checkbox. Create a second trigger, which enables the first one. Start the game in Medium or Hard and fire the second trigger, which enables the first. It still gets fired and ignores the difficulty here.

Expected Behaviour

The trigger should only fire for his difficulty

Actual Behaviour

The trigger ignores the difficulty setting and fires.

Additional Context

No response

MarkJFox avatar May 23 '24 17:05 MarkJFox