Clean up some warnings (#6088)
* Clean up some warnings * Remove nullable enable Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
@@ -30,13 +30,13 @@ namespace Content.Server.Light.Components
|
||||
public int BurningTemperature = 1400;
|
||||
|
||||
[DataField("lightEnergy")]
|
||||
public float lightEnergy = 0.8f;
|
||||
public float LightEnergy = 0.8f;
|
||||
|
||||
[DataField("lightRadius")]
|
||||
public float lightRadius = 10;
|
||||
public float LightRadius = 10;
|
||||
|
||||
[DataField("lightSoftness")]
|
||||
public float lightSoftness = 1;
|
||||
public float LightSoftness = 1;
|
||||
|
||||
[DataField("PowerUse")]
|
||||
public int PowerUse = 40;
|
||||
|
||||
@@ -251,7 +251,7 @@ namespace Content.Server.Light.EntitySystems
|
||||
case LightBulbState.Normal:
|
||||
if (powerReceiver.Powered && light.On)
|
||||
{
|
||||
SetLight(uid, true, lightBulb.Color, light, lightBulb.lightRadius, lightBulb.lightEnergy, lightBulb.lightSoftness);
|
||||
SetLight(uid, true, lightBulb.Color, light, lightBulb.LightRadius, lightBulb.LightEnergy, lightBulb.LightSoftness);
|
||||
appearance?.SetData(PoweredLightVisuals.BulbState, PoweredLightState.On);
|
||||
var time = _gameTiming.CurTime;
|
||||
if (time > light.LastThunk + ThunkDelay)
|
||||
|
||||
Reference in New Issue
Block a user