diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 15:06:23 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 15:06:23 +0200 | 
| commit | 86a09a1f49744002a81702d16600171fc8407552 (patch) | |
| tree | 780f576ffe83adc3a930e9cc77d66556d5eb73bd /lib | |
| parent | 200fa557e11cff95a8e3c3b9e136124bb8801f98 (diff) | |
| download | edoors-ruby-86a09a1f49744002a81702d16600171fc8407552.zip edoors-ruby-86a09a1f49744002a81702d16600171fc8407552.tar.gz  | |
Room: system no door, no action excpetion can't be raised anymore
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/evendoors.rb | 1 | ||||
| -rw-r--r-- | lib/evendoors/room.rb | 2 | 
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  | 
