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:
parent
4a698d9c10
commit
db9e7169f7
@ -235,6 +235,7 @@
|
|||||||
* Can shoot while looking at other players
|
* Can shoot while looking at other players
|
||||||
* Increased mantle speed
|
* Increased mantle speed
|
||||||
* Increased ladder climb speed
|
* Increased ladder climb speed
|
||||||
|
* Disabled leaning
|
||||||
* Start with Semtex on maps that have Semtex
|
* Start with Semtex on maps that have Semtex
|
||||||
* Barriers can no longer be rebuilt while sprinting or thowing a grenade
|
* Barriers can no longer be rebuilt while sprinting or thowing a grenade
|
||||||
* Upgraded weapon camo is applied in last stand
|
* Upgraded weapon camo is applied in last stand
|
||||||
|
@ -451,6 +451,7 @@ on_player_spawned()
|
|||||||
self set_client_dvars();
|
self set_client_dvars();
|
||||||
self set_perks();
|
self set_perks();
|
||||||
self set_favorite_wall_weapons();
|
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()
|
lui_notify_events()
|
||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user