mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
fix fragment:place lights
This commit is contained in:
parent
024f9670eb
commit
7a513949e9
3 changed files with 14 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ static int l_place(lua::State* L) {
|
|||
auto offset = tovec3(L, 2);
|
||||
int rotation = tointeger(L, 3);
|
||||
fragment->getFragment(rotation)->place(
|
||||
*scripting::level->chunks, offset
|
||||
*scripting::controller, offset
|
||||
);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue