Replace areas can now use any type of requirement.

Many bug fix in Key Areas and Replace Areas, especially for the
requirements management.
This commit is contained in:
Zukero
2017-08-18 16:20:25 +02:00
parent cfb38c33d6
commit 6cb0941ca6
4 changed files with 18 additions and 7 deletions

View File

@@ -214,6 +214,9 @@ public class ActorCondition extends JSONElement {
}
if (this.icon_id != null) {
String spritesheetId = this.icon_id.split(":")[0];
if (getProject().getSpritesheet(spritesheetId) == null) {
System.out.println(this.id);
}
getProject().getSpritesheet(spritesheetId).addBacklink(this);
}