whoward69
DLL Minion
I don't play MP so have no way to test this ... so if someone could check this out and report back ...
Possible bug fix for when one human player offers a trade and the other human player can change it anyhow they want and accept it.
In TradeLogic.lua, add the lines in red
Possible bug fix for when one human player offers a trade and the other human player can change it anyhow they want and accept it.
In TradeLogic.lua, add the lines in red
Code:
---------------------------------------------------------
-- UI Deal was modified somehow
---------------------------------------------------------
function DoUIDealChangedByHuman()
--print("UI Deal Changed");
-- Set state to the default so that it doesn't cause any funny behavior later
if (g_iDiploUIState ~= DiploUIStateTypes.DIPLO_UI_STATE_HUMAN_DEMAND) then
g_iDiploUIState = DiploUIStateTypes.DIPLO_UI_STATE_TRADE;
end
DoUpdateButtons();
[COLOR="Red"] if (g_bPVPTrade) then
g_bNewDeal = true;
end[/COLOR]
end