mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-04 18:44:00 +01:00
Fixed NPC editor bug where inflicted actor conditions weren't managed
correctly. Fixed Worldmap saving and deletion (mostly the * management was crap) Fixed multi-selection deletion.
This commit is contained in:
@@ -98,7 +98,7 @@ public class WorldMapEditor extends Editor implements FieldUpdateListener {
|
||||
|
||||
public WorldMapEditor(WorldmapSegment worldmap) {
|
||||
target = worldmap;
|
||||
this.name = worldmap.id;
|
||||
this.name = worldmap.getDesc();
|
||||
this.icon = new ImageIcon(worldmap.getIcon());
|
||||
setLayout(new BorderLayout());
|
||||
|
||||
@@ -117,8 +117,8 @@ public class WorldMapEditor extends Editor implements FieldUpdateListener {
|
||||
|
||||
@Override
|
||||
public void targetUpdated() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.name = ((GameDataElement)target).getDesc();
|
||||
updateMessage();
|
||||
}
|
||||
|
||||
public JPanel getXmlEditorPane() {
|
||||
|
||||
Reference in New Issue
Block a user