aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Model/Action.scala
diff options
context:
space:
mode:
authorAleksi Heikkila <aleksi.e.heikkila@aalto.fi>2024-11-27 17:26:16 +0200
committerAleksi Heikkila <aleksi.e.heikkila@aalto.fi>2024-11-27 17:26:16 +0200
commitb50a8e42b6b69ce4e15773c73cf68d2ac8f2175d (patch)
tree14a95bc1fd5ec6cfbfd25f795e46fc389ee6625a /src/scalevalapokalypsi/Model/Action.scala
parent34dc64a1387f2904b4c23ac3fcfea35c9670088e (diff)
parent302455bac062080bf197b44e07ed53a3454be4c5 (diff)
downloadscalevalapokalypsi-b50a8e42b6b69ce4e15773c73cf68d2ac8f2175d.tar.gz
scalevalapokalypsi-b50a8e42b6b69ce4e15773c73cf68d2ac8f2175d.zip
help-komento
Diffstat (limited to 'src/scalevalapokalypsi/Model/Action.scala')
-rw-r--r--src/scalevalapokalypsi/Model/Action.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalevalapokalypsi/Model/Action.scala b/src/scalevalapokalypsi/Model/Action.scala
index 94d13a5..4089b48 100644
--- a/src/scalevalapokalypsi/Model/Action.scala
+++ b/src/scalevalapokalypsi/Model/Action.scala
@@ -134,7 +134,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 =