Skip to content

Commit

Permalink
fixed open door check
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomoresolvalou committed May 18, 2024
1 parent d7dd594 commit 13adfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/tools/maintenance_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
if(attacked_door.density && !attacked_door.arePowerSystemsOn()) // if its closed and unpowered
attacked_door.open(TRUE)
return
if(!attacked_door.density && attacked_door.arePowerSystemsOn()) //If its open and powered
if(!attacked_door.density) //If its open
return

user.visible_message(SPAN_DANGER("[user] jams [src] into [attacked_door] and starts to pry it open."),
Expand Down

0 comments on commit 13adfac

Please sign in to comment.