Merge pull request #613 from JustAGenericUsername/main

free will update
This commit is contained in:
slweeb 2024-05-11 22:49:38 -04:00 committed by GitHub
commit 4282442d97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -2709,8 +2709,7 @@ elements.ray_emitter = {
if (!rayans) { return }
rayElement = mostSimilarElement(rayans);
var rayans2 = prompt("Should the ray stop by walls? Write true or false.",(rayStoppedByWalls||false));
if (!rayans2) { rayans2 = false } else { rayans2 = true }
rayStoppedByWalls = rayans2
if (rayans2 == "false"){rayStoppedByWalls = false} else {rayStoppedByWalls = true}
},
hoverStat: function(pixel){
return pixel.rayElement.toUpperCase() || "unset"