mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Throw an error for invalid BitmapText key
This commit is contained in:
parent
e1d23b98c0
commit
73ff013d95
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ var BitmapText = new Class({
|
||||||
|
|
||||||
if (!entry)
|
if (!entry)
|
||||||
{
|
{
|
||||||
console.warn('Invalid BitmapText key: ' + font);
|
throw new Error('Invalid BitmapText key: ' + font);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue