2
0
Эх сурвалжийг харах

tools: fix errors introduced by commit a7d0a6caf

Daniele Bartolini 4 жил өмнө
parent
commit
fadc1b6a54

+ 2 - 1
tools/core/database.vala

@@ -9,7 +9,7 @@ namespace Crown
 {
 public class Database
 {
-	private static bool _debug = true;
+	private static bool _debug = false;
 	private static bool _debug_getters = false;
 
 	private enum Action
@@ -730,6 +730,7 @@ public class Database
 		((HashSet<Guid?>)ob[key]).remove(item_id);
 
 		_distance_from_last_sync += dir;
+		key_changed(id, key);
 	}
 
 	// Returns the type of the object @a id.