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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user