(
runtimeScene: gdjs.RuntimeScene
)
| 461 | * Create, display, and hide an error notification. |
| 462 | */ |
| 463 | export const displayErrorNotification = function ( |
| 464 | runtimeScene: gdjs.RuntimeScene |
| 465 | ) { |
| 466 | showNotification({ |
| 467 | runtimeScene, |
| 468 | content: |
| 469 | 'An error occurred while displaying the game lobbies, please try again.', |
| 470 | type: 'error', |
| 471 | }); |
| 472 | }; |
| 473 | |
| 474 | /** |
| 475 | * Create, display, and hide a notification when a player leaves the game. |
nothing calls this directly
no test coverage detected