Skip to content

Commit

Permalink
saving before switching to master
Browse files Browse the repository at this point in the history
  • Loading branch information
gluesniffler committed Oct 28, 2024
1 parent 87a2520 commit 57563a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Content.Client/Medical/Surgery/SurgeryBui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ protected override void Dispose(bool disposing)

private void Update(SurgeryBuiState state)
{
Logger.Debug($"Attempting to update surgerybuistate with {state}, {_player.LocalEntity}, first predicted? {_timing.IsFirstTimePredicted}, surgeryTargetComp? {_entities.TryGetComponent<SurgeryTargetComponent>(_player.LocalEntity, out var surgeryTargetComp2)} {surgeryTargetComp2?.CanOperate}");
if (!_entities.TryGetComponent<SurgeryTargetComponent>(_player.LocalEntity, out var surgeryTargetComp)
|| !surgeryTargetComp.CanOperate)
return;
Logger.Debug("Passed check");
if (_window == null)
{
_window = new SurgeryWindow();
Expand Down

0 comments on commit 57563a9

Please sign in to comment.