]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fix: deconstruct verb on undeconstructables (#27387)
authorŁukasz Mędrek <lukasz@lukaszm.xyz>
Sat, 27 Apr 2024 06:30:29 +0000 (06:30 +0000)
committerGitHub <noreply@github.com>
Sat, 27 Apr 2024 06:30:29 +0000 (16:30 +1000)
commit8442a9142c28917553fb35c6e63695fcbfc62fe2
tree2e7bed95728c1def8da764a6a28213cde779173a
parent5ec5e5ab898ef7688dfa2ff66df7ed78bedb32be
fix: deconstruct verb on undeconstructables (#27387)

Some of prototypes don't specify their deconstructTarget node, which
made them show the deconstruct verb as deconstructTarget is set to
"start" node by default. This patch makes attempt to check if is it even
possible from current construction node to reach specified
deconstructTarget.

Fixes #27330
Content.Server/Construction/ConstructionSystem.Guided.cs