Thanks for your awesome script! I'm still a coding noob and am trying to understand the code better. On my server, I would like for merchants to restock ingredients.
I set interiorCellResetTime to 5 (seconds)
I set merchantDayRestock to 0 (days)
I see that the function is running for OnPlayerCellChange
But if cellResetTimers[cellDescription] == nil is always false.
Thus, the cell never fully resets. Is this a mistake on my part, or is there perhaps a bug in the code?
Thanks for your awesome script! I'm still a coding noob and am trying to understand the code better. On my server, I would like for merchants to restock ingredients.
interiorCellResetTime
to 5 (seconds)merchantDayRestock
to 0 (days)if cellResetTimers[cellDescription] == nil
is always false.Thus, the cell never fully resets. Is this a mistake on my part, or is there perhaps a bug in the code?