mine fix dor delayed closing time

This commit is contained in:
2024-04-23 21:16:00 -05:00
parent 4a2ef92d33
commit baf28519c2
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -63,7 +63,10 @@ public class Corpse extends AbstractWorldObject {
this.inBuilding = belongsTo.getInBuilding();
this.inFloorID = belongsTo.getInFloorID();
this.inBuildingID = belongsTo.getInBuildingID();
this.setLoc(belongsTo.getLoc());
if(belongsTo.isMoving())
this.setLoc(belongsTo.getMovementLoc());
else
this.setLoc(belongsTo.getLoc());
} else {
Logger.error("No player passed in for corpse");
this.firstName = "";