aboutsummaryrefslogtreecommitdiff
path: root/move.go
diff options
context:
space:
mode:
Diffstat (limited to 'move.go')
-rw-r--r--move.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/move.go b/move.go
index f9a54a3..aae83ed 100644
--- a/move.go
+++ b/move.go
@@ -161,10 +161,8 @@ func (p *Path) isValid(moveMap MoveMap) bool {
func (e *Entity) StartMove(destination Point, moveMap MoveMap) {
if e.Move.IsEnabled && e.Position.IsEnabled && e.Selection.IsEnabled {
- if e.Selection.Value.IsSelected {
- e.Move.Value = NewMove(e.Position.Value, destination, moveMap)
- slog.Info("entity starting move", slog.String("destination", destination.String()))
- }
+ e.Move.Value = NewMove(e.Position.Value, destination, moveMap)
+ slog.Info("entity starting move", slog.String("destination", destination.String()))
}
}