DoAfter fixes (#15127)

This commit is contained in:
Leon Friedrich
2023-04-04 18:28:55 +12:00
committed by GitHub
parent 463bf869e6
commit df3dae9093
4 changed files with 14 additions and 9 deletions

View File

@@ -229,7 +229,7 @@ namespace Content.Server.Power.EntitySystems
private void OnToolFinished(EntityUid uid, ApcComponent component, ApcToolFinishedEvent args)
{
if (!args.Cancelled)
if (args.Cancelled)
return;
component.IsApcOpen = !component.IsApcOpen;