Skip to content

Commit

Permalink
fix deprecation warning for GUI_Object
Browse files Browse the repository at this point in the history
GUI_Object was replaced by UISpriteElement and UITextButton (Technically there is also UIBaseElement, but it was added as a new base element, and not as a replacement for GUI_Object)
  • Loading branch information
obiot committed Mar 25, 2023
1 parent ae6c6b5 commit 2433461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lang/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Renderer.prototype.getScreenContext = function() {
* @param {object} settings - See {@link Sprite}
*/
constructor(x, y, settings) {
warning("GUI_Object", "UISpriteElement", "14.0.0");
warning("GUI_Object", "UISpriteElement or UITextButton", "14.0.0");
super(x, y, settings);
}
}

0 comments on commit 2433461

Please sign in to comment.