v0.4.3a: fixed a couple null pointer exceptions
This commit is contained in:
parent
509f10a12c
commit
93caf1f1eb
|
@ -801,7 +801,7 @@ public class GameScene extends PixelScene {
|
|||
public static void ready() {
|
||||
selectCell( defaultCellListener );
|
||||
QuickSlotButton.cancel();
|
||||
scene.toolbar.examining = false;
|
||||
if (scene != null) scene.toolbar.examining = false;
|
||||
}
|
||||
|
||||
public static void examineCell( Integer cell ) {
|
||||
|
|
|
@ -81,6 +81,7 @@ public class Toast extends Component {
|
|||
public synchronized void kill() {
|
||||
super.kill();
|
||||
//need to also destroy the text so that memory is freed
|
||||
if (text != null)
|
||||
text.destroy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user