lib/gamefic-standard/entities/portal.rb in gamefic-standard-3.2.4 vs lib/gamefic-standard/entities/portal.rb in gamefic-standard-3.3.0
- old
+ new
@@ -26,10 +26,10 @@
portal.destination == parent
end
end
alias find_reverse reverse
- def direction= dir
+ def direction=(dir)
@direction = Direction.find(dir)
end
def name
@name || direction&.name || destination.name