Garry's Mod

Garry's Mod

Oxygen and Stamina System (And Flashlight Battery)
[Bug] High values broken
Values over 32767 completely stop regeneration from working. I don't know what's going on in the lua files, but it seems the max values are now being interpreted as signed 16-bit shorts instead of the integers from before. This means that if the value is set to 32768 or higher, the game interprets it as a negative number instead of a positive number. At least that's what I'm getting from the behaviour...
< >
Näytetään 1-1 / 1 kommentista
Rad Poseidon  [kehittäjä] 12.8.2023 klo 12.43 
Networking was using 16 bits for some reason, I've updated it.
< >
Näytetään 1-1 / 1 kommentista
Sivua kohden: 1530 50