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
|
while n != 0 do
|
||||||
ret += 1
|
ret += 1
|
||||||
end
|
end
|
||||||
|
return ret
|
||||||
end
|
end
|
||||||
|
|
||||||
function updategame()
|
function updategame()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user