From 302455bac062080bf197b44e07ed53a3454be4c5 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Wed, 27 Nov 2024 17:19:46 +0200 Subject: Finishing almost the adventure --- src/scalevalapokalypsi/Model/Action.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scalevalapokalypsi/Model/Action.scala') diff --git a/src/scalevalapokalypsi/Model/Action.scala b/src/scalevalapokalypsi/Model/Action.scala index 75ce68c..6b030d1 100644 --- a/src/scalevalapokalypsi/Model/Action.scala +++ b/src/scalevalapokalypsi/Model/Action.scala @@ -93,7 +93,7 @@ class Action(input: String): ) case "tiputa" | "pudota" => Some((false, actor.drop(this.modifiers))) case "käytä" => - Some(true -> actor.useItem(this.modifiers)) + Some(false -> actor.useItem(this.modifiers)) case "laula" => val end = modifiers.takeRight("suohon".length) val start = -- cgit v1.2.3