Faster sound loading

This commit is contained in:
Anuken
2022-06-26 08:35:08 -04:00
parent 4ae157d50f
commit d84b981d24
4 changed files with 140 additions and 103 deletions

View File

@@ -1546,6 +1546,8 @@ public class LExecutor{
@Remote(called = Loc.server, unreliable = true)
public static void logicExplosion(Team team, float x, float y, float radius, float damage, boolean air, boolean ground, boolean pierce){
if(damage < 0f) return;
Damage.damage(team, x, y, radius, damage, pierce, air, ground);
if(pierce){
Fx.spawnShockwave.at(x, y, World.conv(radius));