Page MenuHomeFeedback Tracker

Double super call in method.
Awaiting internal Testing, NormalPublic

Description

The class ContaminatedArea_Dynamic has a double super call in the DeferredInit method which is obviously an error. This is what's currently breaking Dynamic zones.

override void DeferredInit()

	{
		super.DeferredInit();

		// We make sure we have the particle array
		if (!m_ToxicClouds)
			m_ToxicClouds = new array<Particle>();
		
		m_Position = GetPosition();
		m_OffsetPos = m_Position;
		m_OffsetPos[1] = m_OffsetPos[1] + AIRBORNE_FX_OFFSET;
		
		SetupZoneData(new EffectAreaParams);
		
		// If a player arrives slightly later during the creation process we check if playing the flare FX is relevant
		if (m_DecayState == eAreaDecayStage.INIT)
			PlayFlareVFX();
		
		if ( m_DecayState == eAreaDecayStage.LIVE )
			InitZone(); // If it has already been created, we simply do the normal setup, no cool effects, force the LIVE state
		
		super.DeferredInit();
	}

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Just check the method in the class.

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Mon, Jun 16, 11:10 AM
lava76 added a subscriber: lava76.Mon, Jun 16, 11:28 AM
Josecitox updated the task description. (Show Details)Mon, Jun 16, 11:03 PM