From e23c5527dac526a5025e1542daca82767af36730 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 13 Sep 2023 19:52:17 -0500 Subject: [PATCH] null region assignment --- src/engine/objects/AbstractCharacter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 9a60e116..6bed2b27 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -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(); }