Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions gamedata/scripts/aaaa_script_fixes_mp.script
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,14 @@ function luagc_cleanup()
printf("~[luagc_cleanup] collectgarbage after=%sKb",collectgarbage("count")*1024)
end

local old_axr_generate_available_tasks = axr_task_manager.generate_available_tasks
function axr_task_manager.generate_available_tasks(npc, is_sim)
if is_sim and _G.WARFARE and warfare.is_warfare_trader(npc) then
is_sim = false
end
return old_axr_generate_available_tasks(npc, is_sim)
end

function on_game_start()
RegisterScriptCallback("actor_on_first_update", actor_on_first_update_calculate_rankings)
RegisterScriptCallback("actor_on_first_update", actor_on_first_update_register_callbacks)
Expand Down
Loading