mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2026-01-06 11:50:58 +07:00
fix example
This commit is contained in:
@@ -30,7 +30,7 @@ do
|
|||||||
local ps = chunk.components[fragments.position]
|
local ps = chunk.components[fragments.position]
|
||||||
local vs = chunk.components[fragments.velocity]
|
local vs = chunk.components[fragments.velocity]
|
||||||
|
|
||||||
for i in #chunk.entities do
|
for i = 1, #chunk.entities do
|
||||||
ps[i] = ps[i] + vs[i] * dt
|
ps[i] = ps[i] + vs[i] * dt
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user