Page MenuHomeFeedback Tracker

Typo in curator mission fsm
New, NormalPublic

Description

a3\missions_f_curator\mptypes\sectorcontrol\missionflow.fsm contains an error. The "Loop" codeblock reads

//--- Get losing side
_losingSideData = [_sides] call bis_fnc_respawnTickets;
_losingSide = _losingSideData select 0;
_losingSideTickets = _losingSideData select 1;

_losingSides = [];
{
	if ([_x,_losingSide] call bis_fnc_areFriendly) then {
		_losingSides set [count _losingSides,_x];
	};
} foreach _sides;

//--- Play music
_timeLeft = [] call bis_fnc_missionTimeLeft;
_noTime = _timeLeft > 0 && _timeLeft < _musicTime;
_playMusic = (_losingSideTickets < _musicTickets) || _noTime;
_playMusic call bis_fnc_playEndMusic;

//--- Time warning
if (_noTime && _saidNoTime) then {
	_saidNoTime = tru_e; //<-- Typo here
	_message = "SentGenTime";
	[
		["generic",[_message],"BIS_fnc_moduleMPTypeSectorControl_missionConversations"],
		"bis_fnc_missionConversations",
		_losingSides
	] call bis_fnc_mp;
};

_time = time + _delay;

whereas it should read

_saidNoTime = true;

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10
Category
General

Event Timeline

7erra created this task.Feb 20 2020, 1:03 AM
Wulf added a subscriber: Wulf.Feb 26 2020, 9:53 AM

Hello.

Thank you for the report. Looking at it that typo never processed and the variable _saidnotime is redundant, it does absolutely nothing so changing it as suggested would not change anything. Are we missing something? Could you tell us what is broken because of it?

7erra added a comment.Feb 26 2020, 2:26 PM

I was just looking through the game files and noticed this. I didn't play or test anything but that line just seemed wrong and I assumed it would create an error when the script is called.