Their main asset was an advanced fire control system that made them very accurate in bombarding shore targets, as a similar gunboat, Johan Maurits van Nassau, demonstrated in 1940 when she silenced a German battery from a distance of some 10 nautical miles .