mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-11 14:34:40 +00:00
Comment
This commit is contained in:
parent
0c3d5f3601
commit
25804ca55f
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class VehicleControl(vehicle: Vehicle)
|
||||||
mountBehavior.apply(msg)
|
mountBehavior.apply(msg)
|
||||||
mountCleanup(mount_point, player)
|
mountCleanup(mount_point, player)
|
||||||
|
|
||||||
// For Issue 1133. Todo: There may be a better way to address the issue?
|
// For Issue 1133. Todo: There may be a better way to address the issue?
|
||||||
case Mountable.TryDismount(user, seat_num, _) if (vehicle.History.find { entry => entry.isInstanceOf[SpawningActivity] } match {
|
case Mountable.TryDismount(user, seat_num, _) if (vehicle.History.find { entry => entry.isInstanceOf[SpawningActivity] } match {
|
||||||
case Some(entry) if System.currentTimeMillis() - entry.time < 8500L => true
|
case Some(entry) if System.currentTimeMillis() - entry.time < 8500L => true
|
||||||
case _ => false
|
case _ => false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue