mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fix entity removal
This commit is contained in:
parent
d22948f45c
commit
f42cd9e567
3 changed files with 6 additions and 5 deletions
|
|
@ -4,5 +4,6 @@ end
|
|||
|
||||
function on_grounded()
|
||||
entity.transform:set_rot(mat4.rotate({0, 1, 0}, math.random()*360))
|
||||
print(stdcomp)
|
||||
entity:despawn()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue