Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Fix OpenTriggeredStorageFillSystem not removing itself at the end
Browse files Browse the repository at this point in the history
I forgor
  • Loading branch information
Day-OS committed Jul 18, 2024
1 parent 60d1dde commit e54289b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ private void OnOpenEvent(EntityUid uid, OpenTriggeredStorageFillComponent comp,
if (!_storage.Insert(uid, ent, out _, out var _, playSound: false))
Log.Error($"Failed attemp while trying to fill {ToPrettyString(uid)}");
}

RemComp(uid, comp);
}

}

0 comments on commit e54289b

Please sign in to comment.