Browse Source

null region assignment

combat-2
FatBoy-DOTC 1 year ago
parent
commit
e23c5527da
  1. 1
      src/engine/objects/AbstractCharacter.java

1
src/engine/objects/AbstractCharacter.java

@ -990,6 +990,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @@ -990,6 +990,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
super.setLoc(newValue); // set the location in the world
this.resetLastSetLocUpdate();
} else {
this.region = null;
super.setLoc(value); // set the location in the world
this.resetLastSetLocUpdate();
}

Loading…
Cancel
Save