Adds disposal mailing units (again) (#7630)
This commit is contained in:
@@ -47,9 +47,9 @@ namespace Content.Client.Disposal.Systems
|
||||
|
||||
foreach (var inter in userInterface.Interfaces)
|
||||
{
|
||||
if (inter is DisposalUnitBoundUserInterface disposals)
|
||||
if (inter is DisposalUnitBoundUserInterface boundInterface)
|
||||
{
|
||||
return disposals.Window?.UpdateState(state) != false;
|
||||
return boundInterface.UpdateWindowState(state) != false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user