Skip to content

Commit

Permalink
make 'thatMuch()' JSfunc explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNisnevich committed Jun 4, 2021
1 parent 046ea33 commit e0138df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/wordbots/CodeGenerator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ object CodeGenerator {
case Count(collection) => s"count(${g(collection)})"
case EnergyAmount(player) => s"energyAmount(${g(player)})"
case MaximumEnergyAmount(player) => s"maximumEnergyAmount(${g(player)})"
case ThatMuch => "load('amount')"
case ThatMuch => "thatMuch()"
case Times(n1, n2) => s"((${g(n1)}) * (${g(n2)}))"

// Collections
Expand Down

0 comments on commit e0138df

Please sign in to comment.