Skip to content

Commit

Permalink
fix to make build work
Browse files Browse the repository at this point in the history
  • Loading branch information
stilnat committed Dec 9, 2023
1 parent 39977f6 commit 3f7c296
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class BasicBattery : BasicElectricDevice, IPowerStorage
[SerializeField]
private float _maxCapacity = 1000;

[SerializeField, ReadOnly]
[SerializeField]
private float _storedPower = 0;

[SerializeField, ReadOnly]
[SerializeField]
private float _maxPowerRate = 5f;

protected bool _isOn = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using QuikGraph.Algorithms;
using SS3D.Systems.Tile;
using SS3D.Utils;
using log4net.Util;
using SS3D.Core;
using System.Linq;
using System.Text.RegularExpressions;
Expand Down
5 changes: 1 addition & 4 deletions Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using PlasticGui.WorkspaceWindow.PendingChanges;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine;

namespace System.Electricity
{
Expand Down

0 comments on commit 3f7c296

Please sign in to comment.