Skip to content

Commit

Permalink
some naming
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraHell committed Jul 26, 2024
1 parent c424b61 commit 0d0ea2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Bed/Cryostorage/CryostorageSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override void Initialize()

SubscribeLocalEvent<CryostorageComponent, BeforeActivatableUIOpenEvent>(OnBeforeUIOpened);
SubscribeLocalEvent<CryostorageComponent, CryostorageRemoveItemBuiMessage>(OnRemoveItemBuiMessage);
SubscribeLocalEvent<CryostorageComponent, CryopodGhostActionEvent>(OnCryopodLeaveAction);
SubscribeLocalEvent<CryostorageComponent, CryopodGhostActionEvent>(OnCryopodGhostAction);

SubscribeLocalEvent<CryostorageContainedComponent, PlayerSpawnCompleteEvent>(OnPlayerSpawned);
SubscribeLocalEvent<CryostorageContainedComponent, MindRemovedMessage>(OnMindRemoved);
Expand Down Expand Up @@ -375,7 +375,7 @@ public override void Update(float frameTime)
}
// end 220 cryo department record
// start 220 cryo action
public void OnCryopodLeaveAction(Entity<CryostorageComponent> ent, ref CryopodGhostActionEvent args)
public void OnCryopodGhostAction(Entity<CryostorageComponent> ent, ref CryopodGhostActionEvent args)
{
if (TryComp<CryostorageContainedComponent>(args.Performer, out var contained))
contained.GracePeriodEndTime = Timing.CurTime;
Expand Down

0 comments on commit 0d0ea2c

Please sign in to comment.