mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Sound refactor and improvements (#12764)
This commit is contained in:
@@ -503,7 +503,7 @@ int ModApiServer::l_sound_play(lua_State *L)
|
||||
{
|
||||
NO_MAP_LOCK_REQUIRED;
|
||||
ServerPlayingSound params;
|
||||
read_soundspec(L, 1, params.spec);
|
||||
read_simplesoundspec(L, 1, params.spec);
|
||||
read_server_sound_params(L, 2, params);
|
||||
bool ephemeral = lua_gettop(L) > 2 && readParam<bool>(L, 3);
|
||||
if (ephemeral) {
|
||||
|
Reference in New Issue
Block a user