mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Turn player to objects when interacting with them
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user