mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
*Hopefully fixed replacement effects getting stuck as "currently running" and thus never being run again.
This commit is contained in:
@@ -157,11 +157,13 @@ public class ReplacementHandler {
|
||||
buildQuestion.append(replacementEffect.toString());
|
||||
buildQuestion.append(")");
|
||||
if (!GameActionUtil.showYesNoDialog(replacementEffect.getHostCard(), buildQuestion.toString())) {
|
||||
replacementEffect.setHasRun(false);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
// AI-logic
|
||||
if (!replacementEffect.aiShouldRun(effectSA)) {
|
||||
replacementEffect.setHasRun(false);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user