Files
gameserver/RCCService2021/ExtraContent/LuaPackages/AppTempCommon/LuaChat/Reducers/FriendCount.lua
T
2026-07-06 14:01:11 -04:00

12 lines
285 B
Lua

local CorePackages = game:GetService("CorePackages")
local SetFriendCount = require(CorePackages.AppTempCommon.LuaApp.Actions.SetFriendCount)
return function(state, action)
state = state or 0
if action.type == SetFriendCount.name then
state = action.count
end
return state
end