Disallow welding of open lockers (#1011)

Co-authored-by: boiled water <hex0ffender@protonmail.com>
This commit is contained in:
boiled-water-tsar 2020-05-28 12:31:16 +02:00 committed by GitHub
parent 12b5f3ebc5
commit 0e2f4fda31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,6 +367,10 @@ namespace Content.Server.GameObjects.Components
public bool InteractUsing(InteractUsingEventArgs eventArgs)
{
if (Open)
return false;
if (!CanWeldShut)
return false;