Throw an error for invalid BitmapText key

This commit is contained in:
samme 2024-04-08 08:56:37 -07:00
parent e1d23b98c0
commit 73ff013d95

View file

@ -110,7 +110,7 @@ var BitmapText = new Class({
if (!entry)
{
console.warn('Invalid BitmapText key: ' + font);
throw new Error('Invalid BitmapText key: ' + font);
}
/**