Разное (#385)
* - add: Meatspike changes. * - fix: Fix socks. * - remove: No light status. * - tweak: Raptor tweak. * - fix: Fix exception. * - remove: Remove unsexed. * - tweak: Crossbow tweak. * - add: More meatspike. * - tweak: Nerf buff rune. * - tweak: No throwing during incorporeal. * - add: Incorporeal magic cooldown.
This commit is contained in:
@@ -76,7 +76,6 @@ namespace Content.Server.Light.EntitySystems
|
||||
{
|
||||
light.LightBulbContainer = _containerSystem.EnsureContainer<ContainerSlot>(uid, LightBulbContainer);
|
||||
_signalSystem.EnsureSinkPorts(uid, light.OnPort, light.OffPort, light.TogglePort);
|
||||
_signalSystem.EnsureSourcePorts(uid, light.StatusPort); // WD
|
||||
}
|
||||
|
||||
private void OnMapInit(EntityUid uid, PoweredLightComponent light, MapInitEvent args)
|
||||
@@ -447,14 +446,6 @@ namespace Content.Server.Light.EntitySystems
|
||||
|
||||
light.On = !light.On;
|
||||
|
||||
// WD START
|
||||
var data = new NetworkPayload
|
||||
{
|
||||
{DeviceNetworkConstants.LogicState, light.On ? SignalState.High : SignalState.Low}
|
||||
};
|
||||
_signalSystem.InvokePort(uid, light.StatusPort, data);
|
||||
// WD END
|
||||
|
||||
UpdateLight(uid, light);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user