diff --git a/offline_download/Alpha_Offline_Download.html b/offline_download/Alpha_Offline_Download.html
index a3f372c..3292c0c 100644
--- a/offline_download/Alpha_Offline_Download.html
+++ b/offline_download/Alpha_Offline_Download.html
@@ -8,6 +8,21 @@ window.addEventListener("load", function() {
"game_frame",createAssetURI("assets"),
]; main();
});
+
+ document.esc = false;
+ document.addEventListener('keydown', function(e) {
+ if (e.key === 'Escape') {
+ e.preventDefault();
+ document.esc = true;
+ }
+ });
+
+ document.addEventListener('keyup', function(e) {
+ if (e.key === 'Escape') {
+ e.preventDefault();
+ document.esc = false;
+ }
+ });
+ window.addEventListener("load", function() {
+ window.classicConfig = ["game","resources.mc"];
+ main();
+ });
+
+ document.esc = false;
+ document.addEventListener('keydown', function(e) {
+ if (e.key === 'Escape') {
+ e.preventDefault();
+ document.esc = true;
+ }
+ });
+
+ document.addEventListener('keyup', function(e) {
+ if (e.key === 'Escape') {
+ e.preventDefault();
+ document.esc = false;
+ }
+ });
+