Sid Meier's Civilization VI

Sid Meier's Civilization VI

Right Click Close Leader
brelgo 2 May, 2020 @ 9:14pm
Wonderful! Thanks for the archive / using in other contexts
Just wanted to say thanks for keeping your old versions around :) It gave me the right ideas when trying to implement the same functionality for other things like citystates.lua etc!

function OnInputHandler( input:table )
local uiMsg = input:GetMessageType();
if (uiMsg == MouseEvents.RButtonUp) then
UI.DeselectAllUnits();
Close();
else
return m_kScreenSlideAnim.OnInputHandler( input );
end
end

Could any problems arise from doing that here?
Last edited by brelgo; 2 May, 2020 @ 11:44pm
< >
Showing 1-1 of 1 comments
PoundedChicken  [developer] 20 May, 2020 @ 9:49pm 
It's been a long time since I made this, I just update as they change the file now. I have no idea if what you're suggesting would work or not. I just do trial and error. Good luck.
< >
Showing 1-1 of 1 comments
Per page: 1530 50