mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Improve core.sound_play with ephemeral sounds and player exclusion
This commit is contained in:
@@ -1019,6 +1019,7 @@ void read_server_sound_params(lua_State *L, int index,
|
||||
params.max_hear_distance = BS*getfloatfield_default(L, index,
|
||||
"max_hear_distance", params.max_hear_distance/BS);
|
||||
getboolfield(L, index, "loop", params.loop);
|
||||
getstringfield(L, index, "exclude_player", params.exclude_player);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user