73 {
74 super.OnInventoryEnter( player );
75
76 PlayerBase player_PB;
77 Class.CastTo( player_PB, player );
78 if ( player_PB.GetItemInHands() == this && GetCompEM().IsPlugged() )
79 {
80 return;
81 }
82
83
85 if ( powered_device )
86 {
87 GetCompEM().UnplugAllDevices();
88
89 if ( !player_PB.IsPlacingLocal() )
90 {
91 GetCompEM().UnplugThis();
92 }
93 }
94 }
class GP5GasMask extends MaskBase ItemBase