mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
Properly pass variadic arguments in the dialogue plugin.
This commit is contained in:
@@ -95,7 +95,7 @@ conversation :tutorial_runescape_guide do
|
||||
text "To continue the tutorial go through that door over there, and speak to your first instructor."
|
||||
|
||||
continue :close => true do |player|
|
||||
if (player.tutorial_island_progress == :not_started)
|
||||
if (player.tutorial_island_progress < :runescape_guide_finished)
|
||||
reset_hint_icon(player)
|
||||
# TODO door hint icon
|
||||
player.tutorial_island_progress = :runescape_guide_finished
|
||||
|
||||
@@ -116,7 +116,7 @@ class Player
|
||||
args[0] = arg.name if arg.kind_of?(QuestStage)
|
||||
end
|
||||
|
||||
result = super(symbol, args)
|
||||
result = super(symbol, *args)
|
||||
string = symbol.to_s
|
||||
|
||||
if (string.end_with?('_progress'))
|
||||
|
||||
Reference in New Issue
Block a user