Power improvements:

* crashes fixed
* made lights an RSI.
This commit is contained in:
Pieter-Jan Briers
2018-05-27 21:45:31 +02:00
parent 89d8208abd
commit e36033a3ac
12 changed files with 99 additions and 46 deletions

View File

@@ -27,7 +27,7 @@ namespace Content.Server.GameObjects.Components.Power
public override void LoadParameters(YamlMappingNode mapping)
{
if (mapping.TryGetNode("Supply", out YamlNode node))
if (mapping.TryGetNode("supply", out YamlNode node))
{
Supply = node.AsFloat();
}