Update ResourceLoader.h

Fixed resource loader for maps (takes into consideration blanks and comments)