From 83237c211f21b83959f234b58f44980423864f02 Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 19 Nov 2018 11:48:11 +0100 Subject: ddsd --- internal_rewrite/simple_settings.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal_rewrite/simple_settings.hpp') diff --git a/internal_rewrite/simple_settings.hpp b/internal_rewrite/simple_settings.hpp index 9dffa55..e3187ba 100644 --- a/internal_rewrite/simple_settings.hpp +++ b/internal_rewrite/simple_settings.hpp @@ -44,8 +44,12 @@ public: strcat_s( full_path, "_" ); strcat_s( full_path, name_.c_str( ) ); - for ( auto x : setting_nodes_ ) + for( auto x : setting_nodes_ ) { + if( !x ) + continue; + x->load( full_path, file ); + } } __declspec( noinline ) void save( const char* path, const char* file ) const override -- cgit v1.2.3