mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Fix so rules not replaced when updated
This commit is contained in:
@@ -121,7 +121,7 @@ public enum CCardScript implements ICDoc {
|
||||
|
||||
updateDirtyFlag();
|
||||
CardRules newRules = CardRules.fromScript(Arrays.asList(text.split("\n")));
|
||||
Singletons.getMagicDb().getCommonCards().getEditor().putCard(newRules);
|
||||
newRules = Singletons.getMagicDb().getCommonCards().getEditor().putCard(newRules);
|
||||
this.currentCard = Singletons.getMagicDb().getCommonCards().getCard(newRules.getName());
|
||||
|
||||
VWorkshopCatalog.SINGLETON_INSTANCE.getCardManager().repaint();
|
||||
|
||||
Reference in New Issue
Block a user