Skip to content

Directionless rules are expanded unnecessarily #72

Description

@david-pfx

Multiple rules are generated incorrectly for directionless rules.
From tubetransport:
[ wasMoved:dirs ] -> [ ]
generates the following:

  (1115) UP [ wasmoved:dirs ] -> [ ]
+ (1115) DOWN [ wasmoved:dirs ] -> [ ]
+ (1115) LEFT [ wasmoved:dirs ] -> [ ]
+ (1115) RIGHT [ wasmoved:dirs ] -> [ ]

Only one rule is required for a directionless rule. There is code in vanilla PS to detect and implement this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codeImprove the code without changing functionalitydebuggingfeatures to help designers understand the engine's behaviorduplicateThis issue or pull request already existsexpansionany expansion mechanism

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions