From b8beb2cf76d0c2e771a44a14fef52d53df6e71a1 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 13 Feb 2019 19:34:14 +0000 Subject: [PATCH] Fixed removing players from vechils with jail --- modules/ExpGamingAdmin/Jail/control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ExpGamingAdmin/Jail/control.lua b/modules/ExpGamingAdmin/Jail/control.lua index 7720c182..49ed0f56 100644 --- a/modules/ExpGamingAdmin/Jail/control.lua +++ b/modules/ExpGamingAdmin/Jail/control.lua @@ -40,7 +40,7 @@ function Admin.jail(player,by_player,reason) ['Reason:']=reason } end Role.meta.last_jail = player.name - player.vehicle = nil + player.driving = false Server.interface(Role.assign,true,player,'Jail',by_player.name) Server.interface(Role.unassign,true,player,Role.get(player),by_player.name) end