Skip to content

Commit

Permalink
Update scenario.nut (add .tointeger())
Browse files Browse the repository at this point in the history
  • Loading branch information
Yona-TYT authored Jun 3, 2024
1 parent 6765140 commit 48afddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pak128.prototype/scenario/tutorial/scenario.nut
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function string_analyzer()
local tx = format("%c",simu_version[j])
if(tx=="."){
nr_a = j+1
val_a.push(value_a)
val_a.push(value_a.tointeger())
value_a = ""
continue
}
Expand Down Expand Up @@ -196,7 +196,7 @@ function string_analyzer()
catch(ev) {
if(tx=="."){
nr_b = j+1
val_b.push(value_b)
val_b.push(value_b.tointeger())
value_b = ""
continue
}
Expand Down

0 comments on commit 48afddd

Please sign in to comment.