Skip to content

Fix PlayerCmd not handling angle and aiming correctly

LJ Sonic requested to merge fix-playercmd into next

This fixes the following bugs with the new PlayerCmd hook:

  1. cmd.angleturn returns the wrong value
  2. setting cmd.angleturn makes the camera become crazy
  3. setting cmd.aiming has no effect at all

Plus a super advanced 4 line script to help you test: unplayable.lua

Edited by LJ Sonic

Merge request reports