mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
move particles to gfx.particles
This commit is contained in:
parent
48add86120
commit
fdbe8ca9c6
3 changed files with 19 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ void scripting::on_frontend_init(Hud* hud, WorldRenderer* renderer) {
|
|||
auto L = lua::get_main_state();
|
||||
|
||||
lua::openlib(L, "hud", hudlib);
|
||||
lua::openlib(L, "particles", particleslib);
|
||||
lua::openlib(L, "gfx", "particles", particleslib);
|
||||
|
||||
if (lua::getglobal(L, "__vc_create_hud_rules")) {
|
||||
lua::call_nothrow(L, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue