Garry's Mod

Garry's Mod

Oxygen and Stamina System (And Flashlight Battery)
wiimeiser 6. aug. 2023 kl. 4:12
[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...
< >
Viser 1-1 af 1 kommentarer
Rad Poseidon  [udvikler] 12. aug. 2023 kl. 12:43 
Networking was using 16 bits for some reason, I've updated it.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50