Skip to content

Commit

Permalink
Adding more detection for padlocks and Combo Locks
Browse files Browse the repository at this point in the history
  • Loading branch information
DaemonF0rge committed Dec 23, 2021
1 parent e600a59 commit de34b84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ modded class BaseBuildingBase extends ItemBase
super.EEItemDetached(item, slot_name);
string itemType = item.GetType();
itemType.ToLower();
if (item.IsRuined() && itemType == "codelock"){
if (item.IsRuined() && (itemType == "codelock" || itemType == "Padlock_Heavy" || itemType == "Padlock" || itemType == "CombinationLock" || itemType == "CombinationLock4")){
SetOffAlarm();
}
}
Expand Down

0 comments on commit de34b84

Please sign in to comment.