From 610623f010de093dd62e8e0acb3761a19747356c Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Tue, 4 Dec 2012 01:48:05 +0000 Subject: [PATCH] Fixes small bug introduced by aa68198747. Clarifies new serialization test options in readme.txt. This was SVN commit r12938. --- .../data/mods/public/gui/session/selection_details.js | 2 +- binaries/system/readme.txt | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/binaries/data/mods/public/gui/session/selection_details.js b/binaries/data/mods/public/gui/session/selection_details.js index 7df298fbed..90358d8bf1 100644 --- a/binaries/data/mods/public/gui/session/selection_details.js +++ b/binaries/data/mods/public/gui/session/selection_details.js @@ -17,7 +17,7 @@ function displaySingle(entState, template) var specificName = template.name.specific; var genericName = template.name.generic != template.name.specific? template.name.generic : ""; // If packed, add that to the generic name (reduces template clutter) - if (genericName && template.pack.state == "packed") + if (genericName && template.pack && template.pack.state == "packed") genericName += " -- Packed"; var playerState = g_Players[entState.player]; diff --git a/binaries/system/readme.txt b/binaries/system/readme.txt index 8c227ef204..75a62d9066 100644 --- a/binaries/system/readme.txt +++ b/binaries/system/readme.txt @@ -41,10 +41,12 @@ Advanced / diagnostic: PATH is system path to commands.txt containing simulation log -writableRoot store runtime game data in root data directory (only use if you have write permissions on that directory) --ooslog dumps simulation state in binary and ASCII representation each turn. - NOTE: game will run much slower with this option! --serializationtest checks simulation state each turn for serialization errors. - NOTE: game will run much slower with this option! +-ooslog dumps simulation state in binary and ASCII representations each turn, + files created in sim_log within the game's log folder. NOTE: game will + run much slower with this option! +-serializationtest checks simulation state each turn for serialization errors; on test + failure, error is displayed and logs created in oos_log within the + game's log folder. NOTE: game will run much slower with this option! Windows-specific: -wQpcTscSafe allow timing via QueryPerformanceCounter despite the fact