Skip to content

Commit

Permalink
Corrigir função tempo_decorrido()
Browse files Browse the repository at this point in the history
  • Loading branch information
dgadelha committed Sep 2, 2023
1 parent f7b5a83 commit f21cacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/src/libs/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default /* javascript */ `{
},
tempo_decorrido() {
return new PortugolVar("inteiro", Date.now() - this.libs.Util.__loadedAt);
return new PortugolVar("inteiro", Date.now() - self.runtime.libs.Util.__loadedAt);
},
sorteia(minimo, maximo) {
Expand Down

0 comments on commit f21cacb

Please sign in to comment.