- Fixed railgun sounds not playing at the clients' end
- Server sends updates for batteries when their charge changes (not strictly necessary assuming the rest of the electrical grid stays in sync, but just in case) - Reactor state is synced with clients if modified through the debug console - Increased maximum item velocity to 64 units/s, all item are clamped to the max vel
This commit is contained in:
@@ -581,6 +581,11 @@ namespace Barotrauma
|
||||
reactor.ShutDownTemp = power == 0 ? 0 : 7000.0f;
|
||||
reactor.AutoTemp = true;
|
||||
reactor.Temperature = power;
|
||||
|
||||
if (GameMain.Server != null)
|
||||
{
|
||||
reactorItem.CreateServerEvent(reactor);
|
||||
}
|
||||
break;
|
||||
case "shake":
|
||||
GameMain.GameScreen.Cam.Shake = 10.0f;
|
||||
|
||||
Reference in New Issue
Block a user