- Code: Select all
UI_Lua import("/lua/ui/game/tabs.lua").BuildContent("diplomacy")
Forged Alliance Forever Forums
UI_Lua import("/lua/ui/game/tabs.lua").BuildContent("diplomacy")
local POriginalOnGameOver = OnGameOver
function OnGameOver()
POriginalOnGameOver()
--Re-enable diplomacy tab after death.
--This way, players will be able to re-ally
for i, tab in controls.tabs do
if tab.Data.content == 'diplomacy' and SessionIsMultiplayer() then
tab:Enable()
end
end
end
Users browsing this forum: No registered users and 1 guest