1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-07 13:49:33 -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

@ -235,6 +235,7 @@
* Can shoot while looking at other players
* Increased mantle speed
* Increased ladder climb speed
* Disabled leaning
* Start with Semtex on maps that have Semtex
* Barriers can no longer be rebuilt while sprinting or thowing a grenade
* Upgraded weapon camo is applied in last stand

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");