Skip to content

Commit

Permalink
Merge pull request #1 from NegativeNameNGT/main
Browse files Browse the repository at this point in the history
Optional `bBroadcast?` param in `:SetValue` BaseClass method
  • Loading branch information
Timmy-the-nobody authored Mar 9, 2024
2 parents 2f72da0 + 181a790 commit 86f74f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shared/baseclass.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ end
---Sets a key/value on the instance
---@param sKey string @Key
---@param xValue any @Value
---@param bBroadcast boolean @Whether to broadcast the key/value to all clients (server only)
---@param bBroadcast? boolean @Whether to broadcast the key/value to all clients (server only)
---
function BaseClass:SetValue(sKey, xValue, bBroadcast)
return ClassLib.SetValue(self, sKey, xValue, bBroadcast)
Expand All @@ -333,4 +333,4 @@ if Server then
function BaseClass:IsValueBroadcasted(sKey)
return ClassLib.IsValueBroadcasted(self, sKey)
end
end
end

0 comments on commit 86f74f2

Please sign in to comment.