Fixed many bugs in the TMX Maps management. Added the

removeQuestProgress dialogue reward type. Initiallized the GDEVisitor
class to help with finding dependencies (through the Beanshell console
only for now).
This commit is contained in:
Zukero
2017-07-26 15:50:50 +02:00
parent f93d03dbd3
commit fe62c05b4b
8 changed files with 296 additions and 8 deletions

View File

@@ -273,11 +273,12 @@ public class TMXMap extends GameDataElement {
public void save() {
if (writable) {
String xml = toXml();
try {
//TODO: check in fileutils, to test the workspace's filesystem once at startup, and figure out how many of these can occur, instead of hard-coded '2'
dismissNextChangeNotif += 2;
FileWriter w = new FileWriter(tmxFile);
w.write(toXml());
w.write(xml);
w.close();
this.state = State.saved;
changedOnDisk = false;