Skip to content

Commit f1d30c7

Browse files
authored
Fix health station continuous use not working (#1799)
fixes a bug re-introduced by #1792
1 parent 2c72835 commit f1d30c7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
44

55
## Unreleased
66

7+
### Fixed
8+
9+
- Fixed health station continuous use not working (by @wgetJane)
10+
711
## [v0.14.3b](https://github.com/TTT-2/TTT2/tree/v0.14.3b) (2025-03-18)
812

913
### Added

gamemodes/terrortown/entities/entities/ttt_health_station.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ ENT.NextHeal = 0
2727
ENT.HealRate = 1
2828
ENT.HealFreq = 0.2
2929

30-
ENT.CanUseKey = true
31-
3230
---
3331
-- @realm shared
3432
function ENT:SetupDataTables()

gamemodes/terrortown/gamemode/shared/sh_entity.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ function entmeta:IsSpecialUsableEntity()
4949
or self.player_ragdoll
5050
or self:IsPlayerRagdoll()
5151
or self.CanUseKey
52-
or self.ClientUse
5352
or self.RemoteUse
5453
end

0 commit comments

Comments
 (0)