Skip to content

Commit

Permalink
Remove deprecated calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Afforess committed Oct 31, 2011
1 parent 383d3df commit 89f4790
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void onButtonClick(ButtonClickEvent event) {
if (tries > 3) {
((SpoutPlayer) event.getPlayer()).getMainScreen().closePopup();
event.getScreen().setDirty(true);
((SpoutPlayer) event.getPlayer()).getMainScreen().attachWidget(null,((GenericLabel) new GenericLabel("I'm on the main screen!").setAlignY(Align.FIRST)).setAlignX(Align.FIRST).setX(0).setY(0).setHeight(427).setWidth(240));
((SpoutPlayer) event.getPlayer()).getMainScreen().attachWidget(null,((GenericLabel) new GenericLabel("I'm on the main screen!").setX(0).setY(0).setHeight(427).setWidth(240));
}
else {
tries++;
Expand Down

0 comments on commit 89f4790

Please sign in to comment.