Garry's Mod

Garry's Mod

Oxygen and Stamina System (And Flashlight Battery)
wiimeiser 2023 年 8 月 6 日 上午 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...
< >
正在显示第 1 - 1 条,共 1 条留言
Rad Poseidon  [开发者] 2023 年 8 月 12 日 下午 12:43 
Networking was using 16 bits for some reason, I've updated it.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50