mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Use RemCompDeferred for portals (#14896)
This commit is contained in:
parent
57094966ce
commit
9afb753374
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ public abstract class SharedPortalSystem : EntitySystem
|
|||
// if they came from (not us), remove the timeout
|
||||
if (TryComp<PortalTimeoutComponent>(subject, out var timeout) && timeout.EnteredPortal != uid)
|
||||
{
|
||||
RemComp<PortalTimeoutComponent>(subject);
|
||||
RemCompDeferred<PortalTimeoutComponent>(subject);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue