Skip to content

Commit

Permalink
Changes missing directory error to a debug message warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Mar 25, 2019
1 parent 1e3df55 commit 807946e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/scribble_init_start/scribble_init_start.gml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ var _char = string_char_at( _font_directory, string_length( _font_directory ) );
if ( _char != "\\" ) && ( _char != "/" ) _font_directory += "\\";

//Check if the directory exists
if ( !directory_exists( _font_directory ) )
if ( !directory_exists(_font_directory) )
{
show_error( "Font directory \"" + string( _font_directory ) + "\" could not be found in \"" + game_save_id + "\"!\n ", true );
exit;
show_debug_message( "Scribble: WARNING! Font directory \"" + string( _font_directory ) + "\" could not be found in \"" + game_save_id + "\"!" );
}

//Check texture page size for user error
Expand Down

0 comments on commit 807946e

Please sign in to comment.