mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
fix game of life support in evaluator
This commit is contained in:
@ -34,7 +34,7 @@ class InternalNativeProvider(val quiet: Boolean = false) : NativeProvider {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val list = arguments[0] as MutableList<Any>
|
||||
val value = arguments[2]
|
||||
list[(arguments.at<Number>(0)).toInt()] = value
|
||||
list[(arguments.at<Number>(1)).toInt()] = value
|
||||
return value
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user