Skip to content

Commit

Permalink
Merge pull request The-Alpha-Project#1468 from Fluglow/master
Browse files Browse the repository at this point in the history
Fix opening doors with no auto-close timer
  • Loading branch information
GrenderG authored Dec 7, 2024
2 parents 8c2fadc + 52772f6 commit fc97f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def update(self, now):
if now > self.last_tick > 0:
if self.is_active_object():
# Check if we need to reset the original door state.
if self.is_active() and super().check_cooldown(now):
if self.get_auto_close_time() > 0 and self.is_active() and super().check_cooldown(now):
self.reset_door_state()
super().update(now)

Expand Down

0 comments on commit fc97f52

Please sign in to comment.