Fix hidden mouse cursor after returning from hunting
- Restore default cursor in returnToMap() before scene transition - Prevents cursor staying hidden when returning to map - Cursor was set to 'none' for crosshair aiming but not restored 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -535,6 +535,8 @@ export default class HuntingScene extends Phaser.Scene {
|
|||||||
}
|
}
|
||||||
|
|
||||||
returnToMap() {
|
returnToMap() {
|
||||||
|
// Restore default cursor before leaving
|
||||||
|
this.input.setDefaultCursor('default');
|
||||||
this.scene.start('MapScene', { inventory: this.inventory });
|
this.scene.start('MapScene', { inventory: this.inventory });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user