Closed Firestar311 closed 9 months ago
Honestly not sure entirely what is happening, will have to do some testing with debug console output
I made it so that the setstat command works direclty on the database and caching has been changed on the backend to store very little data now. I still want to change how the stat values are store in memory to operate directly and not worry about storing and calculating based on StatChanges in the PlayerStats. Changes from this command are sent via the network system so it should update, and the goal behind the stats system is to eventually sync. But this command was not doing things correctly
The setstat command is a bit broken as it didnt respect new value in some other cases