Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream sync #1494

Merged
merged 135 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
f38c754
Vulture server config preset (#20766)
PJB3005 Oct 5, 2023
d4ed37d
Rock Anomaly (#20635)
brainfood1183 Oct 5, 2023
cd89da8
Automatic changelog update
PJBot Oct 5, 2023
2ea4d0d
Make slimes not rot (#20761)
notquitehadouken Oct 5, 2023
141ffd8
Automatic changelog update
PJBot Oct 5, 2023
9995df2
set leviathan pop cap to 60 (#19589)
Chief-Engineer Oct 5, 2023
9542177
shouldlength overeye hairstyle (#20757)
KingFroozy Oct 5, 2023
2b87bc3
Power infra names for Barratry (#20760)
TsjipTsjip Oct 5, 2023
7f3d4e1
Marathon Power Infrastructure Names (#20763)
JustCone14 Oct 5, 2023
5abc3a3
Fland Power Infrastructure Names (#20764)
JustCone14 Oct 5, 2023
c5c1105
Power infra names for Kettle (#20762)
TsjipTsjip Oct 5, 2023
6f48a2e
Added onion rings (#20734)
dahnte Oct 5, 2023
a038dd6
Automatic changelog update
PJBot Oct 5, 2023
10dfe43
monkey gas mask! (#20683)
gusxyz Oct 5, 2023
f5344af
Automatic changelog update
PJBot Oct 5, 2023
77e2139
Add rotation to tree (#20775)
TheShuEd Oct 6, 2023
8eeedb2
Automatic changelog update
PJBot Oct 6, 2023
acc9c89
Use construction graphs for hacking protections (#20265)
chromiumboy Oct 6, 2023
0a7338c
Minor Rev changes (#20771)
coolmankid12345 Oct 6, 2023
52cf78e
Make syndicate bombs collidable again (#20573)
gusxyz Oct 6, 2023
c155621
Automatic changelog update
PJBot Oct 6, 2023
d6e7ff7
Remove extra white pixels (#20791)
coolmankid12345 Oct 6, 2023
d3bfd01
Four 'new' signs (#20792)
FluffiestFloof Oct 6, 2023
c8cd7fb
add (#20781)
UbaserB Oct 6, 2023
b76450e
Automatic changelog update
PJBot Oct 6, 2023
f3ae0bf
bagel update (#20795)
Emisse Oct 6, 2023
544b9ea
New Signs to Packed (#20796)
JustCone14 Oct 6, 2023
1dc34d5
Lizard "Rework" (#20328)
LankLTE Oct 6, 2023
186e395
Automatic changelog update
PJBot Oct 6, 2023
7d20aef
Fix opening wire panels without WiresPanelSecurityComponent (#20798)
chromiumboy Oct 6, 2023
15fee3f
Automatic changelog update
PJBot Oct 6, 2023
b5e8c57
Liquid anomaly (#20626)
TheShuEd Oct 7, 2023
2079dc0
Automatic changelog update
PJBot Oct 7, 2023
6af7c90
make tinned foods use openable (#19884)
deltanedas Oct 7, 2023
783ed6f
Change ThrownItemComponent to be removed after flytime (#20700)
DrSmugleaf Oct 7, 2023
70d7775
Automatic changelog update
PJBot Oct 7, 2023
772cc76
To weld the secret door (#20707)
Nimfar11 Oct 7, 2023
45234b2
Automatic changelog update
PJBot Oct 7, 2023
02df8cd
Add mob retaliation (#19901)
EmoGarbage404 Oct 7, 2023
ec452aa
Automatic changelog update
PJBot Oct 7, 2023
427cae2
Misc mind tweaks and fixes (#20614)
ElectroJr Oct 7, 2023
a0341ec
Add test to load all config presets (#20705)
DrSmugleaf Oct 7, 2023
d87cb63
Spiders inject toxin (#19497)
HerCoyote23 Oct 7, 2023
c4c24d4
Automatic changelog update
PJBot Oct 7, 2023
29a77bc
Tag tinned peaches and meat with Fruit and Meat, respectively (#20814)
arimah Oct 7, 2023
3101e5a
Fix action-granting items not being predicted (#20778)
ElectroJr Oct 7, 2023
e4c4d9b
Fix sleeping action not working (#20813)
DrSmugleaf Oct 7, 2023
0b4555e
Automatic changelog update
PJBot Oct 7, 2023
8377094
Tweaked secret weights (#20807)
JoeHammad1844 Oct 7, 2023
99a4ee9
Automatic changelog update
PJBot Oct 7, 2023
d691dda
Give player species slight passive regen (#20638)
LankLTE Oct 7, 2023
a487bd4
Automatic changelog update
PJBot Oct 7, 2023
2a75e72
Wow kudzu is back! (#20822)
EmoGarbage404 Oct 7, 2023
cc47fb2
Kettle update (#20808)
TsjipTsjip Oct 7, 2023
70246ae
Automatic changelog update
PJBot Oct 7, 2023
364c9b7
DamageableSystem cleanup & performance improvements (#20820)
ElectroJr Oct 8, 2023
00642e8
Changes for SplitContainer Engine PR (#20383)
ElectroJr Oct 8, 2023
ba15d99
Update engine to v165.0.0 (#20837)
ElectroJr Oct 8, 2023
35f4174
fix: Incendiary bullets no longer deal cold, acid, or shock damage th…
kerisargit Oct 8, 2023
1a5cf37
Slightly improve action ui performance (#20799)
ElectroJr Oct 8, 2023
7adbf78
suffix additions: Pinpointer, thruster, gyro (#20818)
QuietlyWhisper Oct 8, 2023
25a6912
Reformat hand examine text (#20842)
EmoGarbage404 Oct 8, 2023
99d1d34
Standardize species speeds (#20841)
EmoGarbage404 Oct 8, 2023
483f720
Automatic changelog update
PJBot Oct 8, 2023
3e509d7
Give ringtone setting a 0.25 second cooldown, style and fixes (#20780)
DrSmugleaf Oct 8, 2023
4e87004
Automatic changelog update
PJBot Oct 8, 2023
6ec02db
Make MMIs work again (#20844)
EmoGarbage404 Oct 9, 2023
8e507af
Automatic changelog update
PJBot Oct 9, 2023
9eede28
Using capital letter for radio channel prefixes works now (#20846)
gusxyz Oct 9, 2023
83f79fc
Automatic changelog update
PJBot Oct 9, 2023
f776251
Fix error on round restart when terminating spreaders (#20850)
DrSmugleaf Oct 9, 2023
be346c3
Add Exists check and try catch when creating replay dir (#20852)
DrSmugleaf Oct 9, 2023
338a415
Try fix buckle test (#20851)
ElectroJr Oct 9, 2023
6c0efe6
Fix buckle test but properly this time (#20854)
ElectroJr Oct 9, 2023
a62b9ea
Revert "Reenable kudzu." (#20843)
misandrie Oct 9, 2023
d9b6f17
Fix test prototypes fields being marked as unused (#20853)
DrSmugleaf Oct 9, 2023
9fb41da
Adds flannel jackets (#20765)
nmajask Oct 9, 2023
8c011e4
Automatic changelog update
PJBot Oct 9, 2023
b0ef355
Just fix dev guide link at README (#20868)
iglov Oct 9, 2023
367c251
gives a suffix to the strictly human spawning syndicate agent (#20864)
QuietlyWhisper Oct 9, 2023
21247fb
cleanup: remove TargetingDoll-related code (#20866)
iacore Oct 9, 2023
eb83333
Github actions script to update ingame credits for contributors (#20345)
VasilisThePikachu Oct 9, 2023
e7a453e
Automatic changelog update
PJBot Oct 9, 2023
ad17adf
Polymorph Artifact Effect (#20660)
brainfood1183 Oct 9, 2023
4ea05cc
Job Spawner icons cleanup (#20872)
FluffiestFloof Oct 10, 2023
46d1890
Fix fast kudzu (#20875)
EmoGarbage404 Oct 10, 2023
80e7f12
Automatic changelog update
PJBot Oct 10, 2023
2c8a97f
Revert "Revert "Reenable kudzu."" (#20876)
EmoGarbage404 Oct 10, 2023
c35a018
Automatic changelog update
PJBot Oct 10, 2023
6f8c2b7
Use conditions to store progress for Ninja objectives (#20254)
Slava0135 Oct 10, 2023
764a0a1
Fix species speeds (#20890)
GoodWheatley Oct 10, 2023
55f058f
Automatic changelog update
PJBot Oct 10, 2023
6abb550
CuraDrobe + Misc Librarian Stuff (#19469)
potato1234x Oct 10, 2023
57e1d64
Automatic changelog update
PJBot Oct 10, 2023
b4d734d
organs edible to lizards, and make their food contents uncooked prote…
QuietlyWhisper Oct 10, 2023
660ee13
Automatic changelog update
PJBot Oct 10, 2023
83062e3
Fix shuttle planet FTL overlapping markers (#20887)
metalgearsloth Oct 10, 2023
8e77faf
Fix salvage faction non-determinism (#20886)
metalgearsloth Oct 10, 2023
1b90732
Automatic changelog update
PJBot Oct 10, 2023
425e49b
Fix salvage mission biome seed (#20885)
metalgearsloth Oct 10, 2023
6f2f0b4
Bagel Update (#20896)
Emisse Oct 10, 2023
ab75941
box update (#20897)
Emisse Oct 10, 2023
edbfef2
Climbing refactor (#20516)
metalgearsloth Oct 10, 2023
969fd33
Automatic changelog update
PJBot Oct 10, 2023
088832a
Update engine to v166.0.0 (#20899)
ElectroJr Oct 11, 2023
6db534e
uncloak ninja after attacking (#20892)
deltanedas Oct 11, 2023
ef233cf
Automatic changelog update
PJBot Oct 11, 2023
9bcf677
Replace string data fields with LocId where relevant (#20883)
DrSmugleaf Oct 11, 2023
d99d855
Fix shuttle throwing (#20884)
metalgearsloth Oct 11, 2023
ac2f914
crabs look for food (#20874)
gusxyz Oct 11, 2023
106d7f9
Automatic changelog update
PJBot Oct 11, 2023
bf6827f
Hopefully??? (#20865)
VasilisThePikachu Oct 11, 2023
33d8cd4
Automatic changelog update
PJBot Oct 11, 2023
d2665b6
glue only mutes if drank (#20627)
deltanedas Oct 11, 2023
c7d1fb8
Add a command to hide replay UI (#19956)
ShadowCommander Oct 11, 2023
f789de2
Automatic changelog update
PJBot Oct 11, 2023
440a578
Add mind entities to PVS overrides (#20847)
ElectroJr Oct 11, 2023
d466747
Add casual jumpsuit/skirts (#20422)
nmajask Oct 11, 2023
e911c9e
Rename SmokeDissipateSpawnComponent to SpawnOnDespawnComponent (#20782)
deltanedas Oct 11, 2023
1dd0327
Fix typo (#20772)
RadioMull Oct 11, 2023
756fd6f
Kill `GravityExtensions` (#20911)
mirrorcult Oct 11, 2023
14dac91
Kill `UserInterfaceHelpers` (#20912)
mirrorcult Oct 11, 2023
dbb7c70
Kill `ContainerHelpers` (#20908)
mirrorcult Oct 11, 2023
7dd20f7
Kill `ComponentExt` (#20907)
mirrorcult Oct 11, 2023
201e39b
show battery charge when recharger is examined (#20098)
deltanedas Oct 11, 2023
f339ba0
Automatic changelog update
PJBot Oct 11, 2023
071f75d
Fixed "Dropping things makes you teleport" (#20919)
mokiros Oct 11, 2023
75443d7
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Oct 11, 2023
d2a4a3b
Change default announce sound and decrease changes
Morb0 Oct 11, 2023
f4a02e9
Add digitigrade comments
Morb0 Oct 11, 2023
f4e4f20
Replace librarian jumpskirt resprite
Morb0 Oct 11, 2023
45c4a86
Update locale
Morb0 Oct 11, 2023
f34310b
Remove secret CVars
Morb0 Oct 11, 2023
08262c4
Remove FoodTinBeansOpen from Avrit
Morb0 Oct 11, 2023
6e2e112
Remove FoodTinMREOpen from Avrit
Morb0 Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .github/workflows/update-credits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Update Contrib and Patreons in credits

on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0

jobs:
get_credits:
runs-on: ubuntu-latest
# Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo
# Do this in dump_github_contributors.ps1 too into your own repo
if: github.repository == 'space-wizards/space-station-14'

steps:
- uses: actions/[email protected]
with:
ref: master

- name: Get this week's Contributors
shell: pwsh
run: Tools/dump_github_contributors.ps1 > Resources/Credits/GitHub.txt

# TODO
#- name: Get this week's Patreons
# run: Tools/script2dumppatreons > Resources/Credits/Patrons.yml

- name: Commit new credit files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Credits
commit_author: PJBot <[email protected]>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ PublishScripts/
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
.nuget/

# Microsoft Azure Build Output
csx/
Expand Down
1 change: 0 additions & 1 deletion Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public sealed class ActionsSystem : SharedActionsSystem

public event Action<EntityUid>? OnActionAdded;
public event Action<EntityUid>? OnActionRemoved;
public event OnActionReplaced? ActionReplaced;
public event Action? ActionsUpdated;
public event Action<ActionsComponent>? LinkActions;
public event Action? UnlinkActions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,52 +1,45 @@
using System;
using Content.Shared.Chemistry;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Utility;

namespace Content.Client.Chemistry.Visualizers
{
[RegisterComponent]
public sealed partial class SolutionContainerVisualsComponent : Component
{
[DataField("maxFillLevels")]
[DataField]
public int MaxFillLevels = 0;
[DataField("fillBaseName")]
[DataField]
public string? FillBaseName = null;
[DataField("layer")]
public SolutionContainerLayers FillLayer = SolutionContainerLayers.Fill;
[DataField("baseLayer")]
[DataField]
public SolutionContainerLayers Layer = SolutionContainerLayers.Fill;
[DataField]
public SolutionContainerLayers BaseLayer = SolutionContainerLayers.Base;
[DataField("overlayLayer")]
[DataField]
public SolutionContainerLayers OverlayLayer = SolutionContainerLayers.Overlay;
[DataField("changeColor")]
[DataField]
public bool ChangeColor = true;
[DataField("emptySpriteName")]
[DataField]
public string? EmptySpriteName = null;
[DataField("emptySpriteColor")]
[DataField]
public Color EmptySpriteColor = Color.White;
[DataField("metamorphic")]
[DataField]
public bool Metamorphic = false;
[DataField("metamorphicDefaultSprite")]
[DataField]
public SpriteSpecifier? MetamorphicDefaultSprite;
[DataField("metamorphicNameFull")]
public string MetamorphicNameFull = "transformable-container-component-glass";
[DataField]
public LocId MetamorphicNameFull = "transformable-container-component-glass";

/// <summary>
/// Which solution of the SolutionContainerManagerComponent to represent.
/// If not set, will work as default.
/// </summary>
[DataField("solutionName")]
[DataField]
public string? SolutionName;

[DataField("initialName")]
[DataField]
public string InitialName = string.Empty;

[DataField("initialDescription")]
[DataField]
public string InitialDescription = string.Empty;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected override void OnAppearanceChange(EntityUid uid, SolutionContainerVisua
if (args.Sprite == null)
return;

if (!args.Sprite.LayerMapTryGet(component.FillLayer, out var fillLayer))
if (!args.Sprite.LayerMapTryGet(component.Layer, out var fillLayer))
return;

// Currently some solution methods such as overflowing will try to update appearance with a
Expand Down
12 changes: 0 additions & 12 deletions Content.Client/CombatMode/CombatModeSystem.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Content.Client.Hands.Systems;
using Content.Shared.CCVar;
using Content.Shared.CombatMode;
using Content.Shared.Targeting;
using Robust.Client.Graphics;
using Robust.Client.Input;
using Robust.Client.Player;
Expand Down Expand Up @@ -44,11 +43,6 @@ public override void Shutdown()
base.Shutdown();
}

private void OnTargetingZoneChanged(TargetingZone obj)
{
EntityManager.RaisePredictiveEvent(new CombatModeSystemMessages.SetTargetZoneMessage(obj));
}

public bool IsInCombatMode()
{
var entity = _playerManager.LocalPlayer?.ControlledEntity;
Expand All @@ -65,12 +59,6 @@ public override void SetInCombatMode(EntityUid entity, bool value, CombatModeCom
UpdateHud(entity);
}

public override void SetActiveZone(EntityUid entity, TargetingZone zone, CombatModeComponent? component = null)
{
base.SetActiveZone(entity, zone, component);
UpdateHud(entity);
}

private void UpdateHud(EntityUid entity)
{
if (entity != _playerManager.LocalPlayer?.ControlledEntity || !Timing.IsFirstTimePredicted)
Expand Down
3 changes: 2 additions & 1 deletion Content.Client/Commands/HideMechanismsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public sealed class HideMechanismsCommand : IConsoleCommand
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
var entityManager = IoCManager.Resolve<IEntityManager>();
var containerSys = entityManager.System<SharedContainerSystem>();
var organs = entityManager.EntityQuery<OrganComponent>(true);

foreach (var part in organs)
Expand All @@ -27,7 +28,7 @@ public void Execute(IConsoleShell shell, string argStr, string[] args)
sprite.ContainerOccluded = false;

var tempParent = part.Owner;
while (tempParent.TryGetContainer(out var container))
while (containerSys.TryGetContainingContainer(tempParent, out var container))
{
if (!container.ShowContents)
{
Expand Down
30 changes: 30 additions & 0 deletions Content.Client/Ghost/GhostToggleSelfVisibility.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using Content.Shared.Ghost;
using Robust.Client.GameObjects;
using Robust.Shared.Console;

namespace Content.Client.Ghost;

public sealed class GhostToggleSelfVisibility : IConsoleCommand
{
public string Command => "toggleselfghost";
public string Description => "Toggles seeing your own ghost.";
public string Help => "toggleselfghost";
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
var attachedEntity = shell.Player?.AttachedEntity;
if (!attachedEntity.HasValue)
return;

var entityManager = IoCManager.Resolve<IEntityManager>();
if (!entityManager.HasComponent<GhostComponent>(attachedEntity))
{
shell.WriteError("Entity must be a ghost.");
return;
}

if (!entityManager.TryGetComponent(attachedEntity, out SpriteComponent? spriteComponent))
return;

spriteComponent.Visible = !spriteComponent.Visible;
}
}
3 changes: 2 additions & 1 deletion Content.Client/Instruments/UI/InstrumentMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ private bool PlayCheck()
if (localPlayer.ControlledEntity == instrumentEnt)
return true;

var container = _owner.Entities.System<SharedContainerSystem>();
// If we're a handheld instrument, we might be in a container. Get it just in case.
instrumentEnt.TryGetContainerMan(out var conMan);
container.TryGetContainingContainer(instrumentEnt, out var conMan);

// If the instrument is handheld and we're not holding it, we return.
if ((instrument.Handheld && (conMan == null || conMan.Owner != localPlayer.ControlledEntity)))
Expand Down
6 changes: 4 additions & 2 deletions Content.Client/Interactable/InteractionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ namespace Content.Client.Interactable
{
public sealed class InteractionSystem : SharedInteractionSystem
{
[Dependency] private readonly SharedContainerSystem _container = default!;

public override bool CanAccessViaStorage(EntityUid user, EntityUid target)
{
if (!EntityManager.EntityExists(target))
return false;

if (!target.TryGetContainer(out var container))
if (!_container.TryGetContainingContainer(target, out var container))
return false;

if (!TryComp(container.Owner, out StorageComponent? storage))
if (!HasComp<StorageComponent>(container.Owner))
return false;

// we don't check if the user can access the storage entity itself. This should be handed by the UI system.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Robust.Client.Input;
using Robust.Shared.Map;

namespace Content.Client.DragDrop;
namespace Content.Client.Interaction;

/// <summary>
/// Helper for implementing drag and drop interactions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Numerics;
using Content.Client.CombatMode;
using Content.Client.Gameplay;
using Content.Client.Outline;
Expand All @@ -7,7 +8,6 @@
using Content.Shared.Interaction;
using Content.Shared.Interaction.Events;
using Content.Shared.Popups;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
Expand All @@ -20,15 +20,13 @@
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
using System.Numerics;
using DrawDepth = Content.Shared.DrawDepth.DrawDepth;

namespace Content.Client.DragDrop;
namespace Content.Client.Interaction;

/// <summary>
/// Handles clientside drag and drop logic
/// </summary>
[UsedImplicitly]
public sealed class DragDropSystem : SharedDragDropSystem
{
[Dependency] private readonly IStateManager _stateManager = default!;
Expand All @@ -45,8 +43,6 @@ public sealed class DragDropSystem : SharedDragDropSystem
[Dependency] private readonly EntityLookupSystem _lookup = default!;
[Dependency] private readonly SharedPopupSystem _popup = default!;

private ISawmill _sawmill = default!;

// how often to recheck possible targets (prevents calling expensive
// check logic each update)
private const float TargetRecheckInterval = 0.25f;
Expand Down Expand Up @@ -110,7 +106,6 @@ public sealed class DragDropSystem : SharedDragDropSystem
public override void Initialize()
{
base.Initialize();
_sawmill = Logger.GetSawmill("drag_drop");
UpdatesOutsidePrediction = true;
UpdatesAfter.Add(typeof(SharedEyeSystem));

Expand Down Expand Up @@ -263,7 +258,7 @@ private void StartDrag()
return;
}

_sawmill.Warning($"Unable to display drag shadow for {ToPrettyString(_draggedEntity.Value)} because it has no sprite component.");
Log.Warning($"Unable to display drag shadow for {ToPrettyString(_draggedEntity.Value)} because it has no sprite component.");
}

private bool UpdateDrag(float frameTime)
Expand Down Expand Up @@ -392,7 +387,7 @@ private bool OnUseMouseUp(in PointerInputCmdHandler.PointerInputCmdArgs args)
}

// tell the server about the drop attempt
RaiseNetworkEvent(new DragDropRequestEvent(GetNetEntity(_draggedEntity.Value), GetNetEntity(entity)));
RaisePredictiveEvent(new DragDropRequestEvent(GetNetEntity(_draggedEntity.Value), GetNetEntity(entity)));
EndDrag();
return true;
}
Expand Down
33 changes: 0 additions & 33 deletions Content.Client/Movement/Systems/ClimbSystem.cs

This file was deleted.

14 changes: 11 additions & 3 deletions Content.Client/PDA/Ringer/RingerBoundUserInterface.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Content.Shared.PDA;
using Content.Shared.PDA.Ringer;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.Timing;

namespace Content.Client.PDA.Ringer
{
Expand Down Expand Up @@ -29,9 +29,17 @@ protected override void Open()

_menu.SetRingerButton.OnPressed += _ =>
{
if (!TryGetRingtone(out var ringtone)) return;
if (!TryGetRingtone(out var ringtone))
return;

SendMessage(new RingerSetRingtoneMessage(ringtone));
_menu.SetRingerButton.Disabled = true;

Timer.Spawn(333, () =>
{
if (_menu is { Disposed: false, SetRingerButton: { Disposed: false } ringer})
ringer.Disabled = false;
});
};
}

Expand Down Expand Up @@ -74,7 +82,7 @@ protected override void UpdateState(BoundUserInterfaceState state)

}

_menu.TestRingerButton.Visible = !msg.IsPlaying;
_menu.TestRingerButton.Disabled = msg.IsPlaying;
}


Expand Down
Loading