mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-19 13:00:19 -07:00
Fixed incorrect dialogue path in vinesweeper when buying flags
This commit is contained in:
parent
2eb7a19546
commit
4fe916990e
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ abstract class FarmerDialogue : DialogueFile() {
|
||||||
if(player!!.inventory.containsItem(price) && player!!.inventory.remove(price)) {
|
if(player!!.inventory.containsItem(price) && player!!.inventory.remove(price)) {
|
||||||
if(player!!.inventory.add(Item(Items.FLAG_12625, 10 - flags))) {
|
if(player!!.inventory.add(Item(Items.FLAG_12625, 10 - flags))) {
|
||||||
npcl(lines[4])
|
npcl(lines[4])
|
||||||
stage = 23
|
stage = 22
|
||||||
|
stage = END_DIALOGUE
|
||||||
} else {
|
} else {
|
||||||
npcl(lines[5])
|
npcl(lines[5])
|
||||||
// Refund the coins, can't fail because we just removed them
|
// Refund the coins, can't fail because we just removed them
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue