mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
Add widget display encoders; bug fixes.
This commit is contained in:
@@ -129,7 +129,7 @@ def on_button(args, proc)
|
||||
id = args[0].to_i
|
||||
|
||||
on :event, :button do |ctx, player, event|
|
||||
if event.interface_id == id
|
||||
if event.widget_id == id
|
||||
proc.call player
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user