mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
6 lines
166 B
Ruby
6 lines
166 B
Ruby
# Catch all object actions and turn the player to
|
|
# the position of the object
|
|
|
|
on :message, :object_action do |player, message|
|
|
player.turn_to message.position
|
|
end |