Added a WatchService to watch the beatmap directory tree for changes.
Any CREATE and DELETE that occur in the song menu state will now show a notification and modify the behavior of the 'F5' key. Changes that occur in other states will force a reload upon entering the song menu. This is part of osu!, but as it's not incredibly helpful, I've left it disabled by default. It can be enabled in the options menu. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -97,7 +97,8 @@ public class OptionsMenu extends BasicGameState {
|
||||
GameOption.FIXED_OD,
|
||||
GameOption.CHECKPOINT,
|
||||
GameOption.REPLAY_SEEKING,
|
||||
GameOption.DISABLE_UPDATER
|
||||
GameOption.DISABLE_UPDATER,
|
||||
GameOption.ENABLE_WATCH_SERVICE
|
||||
});
|
||||
|
||||
/** Total number of tabs. */
|
||||
|
||||
Reference in New Issue
Block a user