Skip to content

Commit

Permalink
Update tuesday.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive authored Aug 20, 2024
1 parent be718e9 commit 753740c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuesday.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ function name_block_update(){
}
if(arr_dialog.choice[i].go_to=="tue_audio"){show_audio(choice,arr_dialog.choice[i]);}
else if(arr_dialog.choice[i].go_to=="tue_fullScreen"){show_fullscreen(choice,arr_dialog.choice[i])}
var v='';
let v='';
if(arr_dialog.choice[i].variables){
for(var g=0;g < arr_dialog.choice[i].variables.length;g++){
for(let g=0;g < arr_dialog.choice[i].variables.length;g++){
if(arr_dialog.choice[i].variables[g][1] == "add"){
v += "story_json.parameters.variables."+arr_dialog.choice[i].variables[g][0]+"+="+((typeof story_json.parameters.variables[arr_dialog.choice[i].variables[g][2]]!=="undefined")?((typeof story_json.parameters.variables[arr_dialog.choice[i].variables[g][2]]=="number")?story_json.parameters.variables[arr_dialog.choice[i].variables[g][2]]:"'"+story_json.parameters.variables[arr_dialog.choice[i].variables[g][2]]+"'"):((typeof arr_dialog.choice[i].variables[g][2]=="number")?arr_dialog.choice[i].variables[g][2]:"'"+arr_dialog.choice[i].variables[g][2]+"'"))+";"
}
Expand Down

0 comments on commit 753740c

Please sign in to comment.