OnWearing statuseffects aren't applied to items contained inside a worn item, dragging an item is canceled if deselecting the inventory the item is in

This commit is contained in:
Regalis
2016-05-07 09:19:32 +03:00
parent d5f6fff2c2
commit be3d418297
3 changed files with 25 additions and 16 deletions

View File

@@ -382,7 +382,7 @@ namespace Barotrauma
if (commands.Length>1) float.TryParse(commands[1], out power);
var reactor = reactorItem.GetComponent<Reactor>();
reactor.ShutDownTemp = 7000.0f;
reactor.ShutDownTemp = power == 0 ? 0 : 7000.0f;
reactor.AutoTemp = true;
reactor.Temperature = power;
break;