mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
fix error
This commit is contained in:
parent
8d794fa91b
commit
c8283f046c
@ -14,7 +14,7 @@ function MUTATOR:ReadArguments()
|
||||
end
|
||||
|
||||
function MUTATOR:Update(val)
|
||||
if not self.actual_model then return end
|
||||
if not self.actual_model or not IsValid(self.Entity) then return end
|
||||
|
||||
if self.Entity:GetModel():lower() ~= self.actual_model:lower() then
|
||||
self.Entity:SetModel(self.actual_model)
|
||||
|
Loading…
Reference in New Issue
Block a user