mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-22 21:04:23 +08:00
add message popup
This commit is contained in:
@@ -119,6 +119,11 @@ class App{
|
||||
$$on('achievement', achievement => {
|
||||
$ui.popup(UI.popups.ACHIEVEMENT, {achievement});
|
||||
})
|
||||
$$on('message', ([message, ...args]) => {
|
||||
$ui.popup(UI.popups.MESSAGE, {message: $_.format(
|
||||
$lang[message], ...args
|
||||
) });
|
||||
})
|
||||
}
|
||||
|
||||
async start({
|
||||
|
||||
Reference in New Issue
Block a user