Mindustry/core/src/mindustry
JeanJPNM 2ad38fc3b0
Fix the sfx selection gui for playsound (#10095)
* fix the index used to get the sfx substring

* handle cases where the sxf variable is not a built-in

This prevents a crash that happened whenever the sfx
variable's name had less than 5 characters (4 before this
pr), since the substring method was called regardless of
the name's size.
2024-08-06 20:27:25 -04:00
..
ai
async
audio
content
core
ctype
editor
entities
game
graphics
input
io
logic Fix the sfx selection gui for playsound (#10095) 2024-08-06 20:27:25 -04:00
maps
mod
net
service
type
ui
world
ClientLauncher.java
Vars.java