Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9dcf4dd

Browse filesBrowse files
authored
Use a local variable in gmod_tool (Facepunch#2188)
1 parent 847b6e6 commit 9dcf4dd
Copy full SHA for 9dcf4dd

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua

Copy file name to clipboardExpand all lines: garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function SWEP:DrawHUD()
123123
if ( v.stage && v.stage != self:GetStage() ) then continue end
124124
if ( v.op && v.op != toolObject:GetOperation() ) then continue end
125125

126-
local txt = "#tool." .. GetConVarString( "gmod_toolmode" ) .. "." .. name
126+
local txt = "#tool." .. mode .. "." .. name
127127
if ( name == "info" ) then txt = toolObject:GetHelpText() end
128128

129129
TextTable.text = txt

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.