Skip to content

Commit

Permalink
fix(beacon): Use translation for entity instead of hardcoded name
Browse files Browse the repository at this point in the history
This fixes #1652
  • Loading branch information
Histalek committed Nov 27, 2024
1 parent 2493ff1 commit e4da681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
- Fixed spectating player still being visible through thermalvision after killing that player (by @MrXonte)
- Fixed Magneto-stick not using C_Hands (by @SvveetMavis)
- Fixed console error when dropping ammo for weapons with no AmmoEnt (by @MrXonte)
- Fixed the beacon not being properly translated when placed (by @Histalek)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion gamemodes/terrortown/entities/entities/ttt_beacon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DEFINE_BASECLASS("ttt_base_placeable")

if CLIENT then
ENT.Icon = "vgui/ttt/icon_beacon"
ENT.PrintName = "Beacon"
ENT.PrintName = "beacon_name"
end

ENT.Base = "ttt_base_placeable"
Expand Down

0 comments on commit e4da681

Please sign in to comment.