move particles to gfx.particles

This commit is contained in:
MihailRis
2024-11-06 20:18:57 +03:00
parent 48add86120
commit fdbe8ca9c6
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -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);