mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-05 11:11:42 -04:00
#76, fixed revealing the same script action after first time would causing param with extra data translated wrongly .
This commit is contained in:
parent
50f57e1675
commit
9a28ce5e27
1 changed files with 4 additions and 1 deletions
|
@ -935,10 +935,13 @@ void CScriptTypes::UpdateParams(int actionIndex, CString* paramNumStr)
|
|||
// " actionIndex = " + std::to_string(actionIndex) +
|
||||
// " paramType = " + std::to_string(paramType)
|
||||
//);
|
||||
// This should be done always
|
||||
updateExtraValue(paramType, paramNumStr);
|
||||
|
||||
// only update dialog when action changes
|
||||
if (lastActionID == actionIndex) {
|
||||
return;
|
||||
}
|
||||
updateExtraValue(paramType, paramNumStr);
|
||||
switch (paramType) {
|
||||
default:
|
||||
case PRM_None:
|
||||
|
|
Loading…
Add table
Reference in a new issue