summaryrefslogtreecommitdiffhomepage
path: root/games
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-09-03 15:05:41 +0200
committerraysan5 <[email protected]>2021-09-03 15:05:41 +0200
commit9d04210f4a05ff2deafdbafc536032bc15910081 (patch)
tree1501913c1693b86001c47a25440c634f840a4abf /games
parent9d4696f7593f93de8a0747ace49ee036bf3e96a9 (diff)
downloadraylib.com-9d04210f4a05ff2deafdbafc536032bc15910081.tar.gz
raylib.com-9d04210f4a05ff2deafdbafc536032bc15910081.zip
review
Diffstat (limited to 'games')
-rw-r--r--games/loader.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/loader.html b/games/loader.html
index fa86595..e327bc7 100644
--- a/games/loader.html
+++ b/games/loader.html
@@ -66,7 +66,7 @@
document.title = "raylib - " + name.replace('_', ' ');
- var codeUrl = 'https://github.com/raysan5/raylib-games/blob/master/classics/src/' + name.substring(7) + '.c';
+ var codeUrl = 'https://github.com/raysan5/raylib-games/blob/master/classics/src/' + name.substring(9) + '.c';
var imageUrl = 'img/' + name + '.png';
// #sampledata filling code: canvas sample and image
@@ -80,7 +80,7 @@
Module.canvas = document.getElementById('canvas');
Module.canvas.addEventListener("webglcontextlost", function(e) { alert('WebGL context lost. You will need to reload the page.'); e.preventDefault(); }, false);
- var jsUrl = 'classics/' + name.substring(7) + '.js';
+ var jsUrl = 'classics/' + name.substring(9) + '.js';
// Run emscripten example
$.getScript(jsUrl, function(){});