Fix flashlight PointLight radius (#438)
* Add radius to `HandheldLightComponent.cs` * Revert handheldlightcomponent and simply specify radius to flashlight in yaml.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
96b8ded8af
commit
1f177a044d
@@ -44,6 +44,7 @@ namespace Content.Server.GameObjects.Components.Interactable
|
|||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string Name => "HandheldLight";
|
public override string Name => "HandheldLight";
|
||||||
|
|
||||||
|
|||||||
@@ -17,4 +17,5 @@
|
|||||||
state: lantern_off
|
state: lantern_off
|
||||||
- type: PointLight
|
- type: PointLight
|
||||||
enabled: false
|
enabled: false
|
||||||
|
radius: 3
|
||||||
- type: Sound
|
- type: Sound
|
||||||
|
|||||||
Reference in New Issue
Block a user