fix client-side lua errors

This commit is contained in:
Evil Factory
2021-12-26 13:32:45 -03:00
parent d033a43fc7
commit f04d897370
3 changed files with 6 additions and 9 deletions
@@ -33,10 +33,4 @@ Hook.HookMethod("Barotrauma.Item", "Unequip", function (instance, p)
if Hook.Call("itemUnequip", instance, p.character) == true then
return false
end
end, Hook.HookMethodType.Before)
Hook.HookMethod("Barotrauma.Networking.GameServer", "AssignJobs", function (instance, a)
if Hook.Call("jobAssigned", a) == true then
return false
end
end, Hook.HookMethodType.After)
end, Hook.HookMethodType.Before)