Removed the need for batteries in diving suits, now the light stays on as long as the suit is worn by a living character.

This commit is contained in:
Joonas Rikkonen
2018-04-23 15:24:55 +03:00
parent eff5976461
commit f2842c265c
2 changed files with 4 additions and 13 deletions
@@ -517,14 +517,6 @@ namespace Barotrauma.Networking
Spawner.CreateNetworkEvent(oxyTank, false);
divingSuit.Combine(oxyTank);
respawnItems.Add(oxyTank);
if (batteryPrefab != null)
{
var battery = new Item(batteryPrefab, pos, respawnSub);
Spawner.CreateNetworkEvent(battery, false);
divingSuit.Combine(battery);
respawnItems.Add(battery);
}
}
if (scooterPrefab != null && batteryPrefab != null)