Browse Source

increasaed own device max id

Julien Clauter 9 years ago
parent
commit
2e669a0347
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/de/tudarmstadt/informatik/hostage/logging/AttackRecord.java

+ 1 - 0
src/de/tudarmstadt/informatik/hostage/logging/AttackRecord.java

@@ -71,6 +71,7 @@ public class AttackRecord implements Parcelable, Serializable {
             this.sync_id = attack_id;
 
             SyncDevice currentDevice = SyncDevice.currentDevice();
+            currentDevice.setHighest_attack_id(attack_id);
             this.setDevice(currentDevice.getDeviceID());
         }