Skip to content

Commit

Permalink
The hazmat suit and bullet vest will now be dropped when they are pic…
Browse files Browse the repository at this point in the history
…ked up, but the player presses the ESC key to pause the game before they are completely put on
  • Loading branch information
ENDSHN committed Aug 13, 2018
1 parent a4d6ce9 commit 075b0a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Main.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5000,6 +5000,14 @@ Function DrawGUI()
SelectedDoor = Null
SelectedScreen = Null
SelectedMonitor = Null
If SelectedItem <> Null Then
If Instr(SelectedItem\itemtemplate\tempname,"vest") Or Instr(SelectedItem\itemtemplate\tempname,"hazmatsuit") Then
If (Not WearingVest) And (Not WearingHazmat) Then
DropItem(SelectedItem)
EndIf
SelectedItem = Null
EndIf
EndIf
EndIf

Local spacing%
Expand Down

0 comments on commit 075b0a1

Please sign in to comment.