13 lines
291 B
Lua
13 lines
291 B
Lua
local StartPurchase = require(script.Parent.Parent.Actions.StartPurchase)
|
|
|
|
local function PurchasingStartTimeReducer(state, action)
|
|
state = state or -1
|
|
|
|
if action.type == StartPurchase.name then
|
|
return action.purchasingStartTime
|
|
end
|
|
|
|
return state
|
|
end
|
|
|
|
return PurchasingStartTimeReducer |