Page MenuHomeFeedback Tracker

Fence can accept CombinationLock4 without wire (just 2 poles)
Closed, ResolvedPublic

Description

All Fences even one with just 2 logs can accept a CombinationLock4 by dragging it on.

There is an error in the CanReceiveAttachment function in Fence.c it only checks for CombinationLock and not it's descendant CombinationLock4:

		if ( attachment.Type() == ATTACHMENT_COMBINATION_LOCK )
		{
			if ( !HasGate() || IsOpened() )
			{
				return false;
			}
		}

This should be changed to:

		if ( attachment.IsInherited(ATTACHMENT_COMBINATION_LOCK) )
		{
			if ( !HasGate() || IsOpened() )
			{
				return false;
			}
		}

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General
Steps To Reproduce
  1. Make a fence kit
  2. place fence kit
  3. Add logs
  4. Dig logs
  5. Try and drag CombinationLock on, does not work (use correct corner)
  6. Drag CombinationLock4 on, does work (use correct the corner)
Additional Information

<3 from DUG

Event Timeline

Geez changed the task status from New to Acknowledged.Aug 26 2019, 3:35 PM
Geez added a subscriber: Geez.

Hello wouter.commandeur and thank you for the report.
We have confirmed the issue based on your report and it has been scheduled for a fix.
Regards,
Geez

Geez closed this task as Resolved.Aug 30 2019, 10:31 AM
Geez claimed this task.

Hello wouter.commandeur.
The issue has been fixed internally and will be fixed on Steam soon.
Regards,
Geez