pac3 icon indicating copy to clipboard operation
pac3 copied to clipboard

pac_movement cannot be overriden

Open Python1320 opened this issue 2 years ago • 0 comments

With https://github.com/CapsAdmin/pac3/blob/develop/lua/pac3/core/shared/movement.lua if you, for example, enter a trigger where noclip is not allowed, any code setting MOVETYPE_WALK on the player gets overriden by movement.lua

It also uses MOVETYPE_NONE which can be mistaken as not noclip, MOVETYPE_NOCLIP should work okay if we return in the move hooks to prevent default?

setting ply.pac_movement=false; ply.pac_custom_movement_reset=true shared could work but there is no such net message so I am assuming this is a bug.

Python1320 avatar Jul 13 '23 21:07 Python1320