summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/evendoors.rb1
-rw-r--r--lib/evendoors/room.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/evendoors.rb b/lib/evendoors.rb
index bf7a99b..bab656e 100644
--- a/lib/evendoors.rb
+++ b/lib/evendoors.rb
@@ -26,7 +26,6 @@ module EvenDoors
ERROR_ROUTE_TRWR = 'routing error: top room, wrong room'.freeze
ERROR_ROUTE_NDNL = 'routing error: no destination, no link'.freeze
ERROR_ROUTE_SND = 'routing error: system no destination'.freeze
- ERROR_ROUTE_SNDNA = 'routing error: system no door, no action'.freeze
#
class Exception < ::Exception; end
#
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index 71c8971..bc9ee63 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -116,8 +116,6 @@ module EvenDoors
route_p p
elsif p.action
p.dst_routed! space
- else
- p.error! EvenDoors::ERROR_ROUTE_SNDNA
end
else
p.error! EvenDoors::ERROR_ROUTE_SND