Skip to content

Commit 3fe5dcf

Browse files
author
Max
committed
PlayerEditedVariable
1 parent 7324e6e commit 3fe5dcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

garrysmod/gamemodes/base/gamemode/variable_edit.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ function GM:VariableEdited( ent, ply, key, val, editor )
1919
--
2020
ent:EditValue( key, val )
2121

22+
hook.Call('PlayerEditedVariable', self, ply, ent, key, val)
23+
2224
end
2325

2426
--

0 commit comments

Comments
 (0)