![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
08-13-10, 08:35 AM
|
#11 | |
|
Black Magic
![]() |
Quote:
Anyways, error handling code should've been placed around that function call by me ![]() Just looked up Dictionary in the MSDN documentation again. I now know why there are problems. The function call of GetAutomation().StopAllScripts() does the following: - gets a list of all keys contained in the dictionary - then using those keys it finds the scripts active and tells them to stop Now from the MSDN documentation: Getting the value of this property is an O(1) operation. What this means is that if there are no keys nothing is returned. Well one can not iterate over None - exception is caused by this. So those users that moved their game to a new folder, coupled with registry not updating correctly, coupled my no error checking code on my part results in crew dialog problem I'll have a fix for it soon. Have to do some work today in downtown Chicago but will be home later. |
|
|
|
| Tags |
| dbrn, favorite, new ui |
|
|
