nuclearsilo583 / zephyrus-store-preview-new-syntax

My rewritten zephyrus store
61 stars 40 forks source link

Fixed problems with Native_SetClientCredits #135

Closed azalty closed 1 year ago

azalty commented 1 year ago

This PR fixes problems with Native_SetClientCredits, namely a check that was added to prevent clients from having a negative amount of credits, but that acted like a GiveCredits check, instead of a SetCredits check. Here, we set the amount of credits to a fixed number, rather than adding credits to the player count, so the previous check made no sense.

❌ Didn't try to compile ❌ Not tested in game

nuclearsilo583 commented 1 year ago

I get your point now.