math works better when you return your values
This commit is contained in:
parent
4fddbea82c
commit
734811bd62
@ -193,6 +193,7 @@ function ones(n)
|
||||
while n != 0 do
|
||||
ret += 1
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
function updategame()
|
||||
|
Loading…
x
Reference in New Issue
Block a user