mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 05:50:18 +00:00
fix
This commit is contained in:
parent
972ee0a873
commit
beaf2d5484
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
||||||
|
|
||||||
public bool CanEnterState(Vehicle vehicle, Vehicle.SeatAlignment seatAlignment)
|
public bool CanEnterState(Vehicle vehicle, Vehicle.SeatAlignment seatAlignment)
|
||||||
{
|
{
|
||||||
if (Time.time - m_lastTimeWhenDeactivated > this.timeUntilAbleToSwitchState)
|
if (Time.time - m_lastTimeWhenDeactivated < this.timeUntilAbleToSwitchState)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var w = m_ped.CurrentWeapon;
|
var w = m_ped.CurrentWeapon;
|
||||||
|
|
Loading…
Reference in a new issue