Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

[SOLVED] Caught Exception during Execution WITHOUT executing!

$
0
0
EDIT: SOLUTION
The Solution was to rewrite the getAllBlocksOfTypeFunction without sub-generic in the return Value
Code:
public List<IMyTerminalBlock> getAllBlocksOfType<T>()
{
	List<IMyTerminalBlock> b = new List<IMyTerminalBlock>();
	GridTerminalSystem.GetBlocksOfType<T>(b);
	return b;
}




ORIGINAL:

Hi,
it's me again ...
I'm currently trying to create a ship Management Script, which worked fine with just the AirLock and Oxygen Management.
But after adding an "Door Auto Close"...

[SOLVED] Caught Exception during Execution WITHOUT executing!

Viewing all articles
Browse latest Browse all 903

Trending Articles