fix fragment:place lights

This commit is contained in:
MihailRis 2025-12-19 19:25:58 +03:00
parent 024f9670eb
commit 7a513949e9
3 changed files with 14 additions and 3 deletions

View file

@ -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;