Skip to content

Battle Engine: force action crashes without Core Engine #27

@Timtrack1

Description

@Timtrack1

See this post.
When using Ace Battle Engine v1.22 or v1.24 and not having the Core engine, performing a force action will crash the game as it makes a reference to an undefined method in module Switch.

How to fix:
In Battle Engine, inside method self.force_action of BattleManager, replace line:
return unless Switch.forced_action_remove
with
return if $imported["YEA-CoreEngine"] && !Switch.forced_action_remove

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions