1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-12 16:18:00 -05:00

Players: disable leaning

This commit is contained in:
Jbleezy
2024-06-26 21:05:22 -07:00
parent 4a698d9c10
commit db9e7169f7
2 changed files with 8 additions and 0 deletions

View File

@ -451,6 +451,7 @@ on_player_spawned()
self set_client_dvars();
self set_perks();
self set_favorite_wall_weapons();
self disable_lean();
}
}
@ -740,6 +741,12 @@ set_favorite_wall_weapons()
}
}
disable_lean()
{
self._allow_lean = 0;
self allowlean(0);
}
lui_notify_events()
{
self endon("disconnect");