Because I couldn't see a hit on main.php prior to refreshing session on login, have added one.
by darzil on 2018-01-15 13:12:07
M /src/net/sourceforge/kolmafia/session/LoginManager.java (view) (diff)
Download the latest KolMafia build here.
Every new revision posted within the hour.
New EXE builds every Monday.
Immediately after the main.php load you added, there's KoLmafia.refreshSession(), which sets an internal variable and then calls KoLmafia.refreshSessionData(), which resets some internal data and then loads main.php.
How did I not find that! Will revert.
Reverted in r18402
Not loading main.php also means you can't do things like visit adventure.php, which would probably do weird things to scripts and be noticed quickly.