Fix bug in sandbox's Math.random()

This commit is contained in:
Zaid Abdulla committed 2017-03-23 15:59:33 -07:00
1 parent 843d183045
commit 00aacd212b
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ class SandboxDate {
function random() {
if (!state.rng)
state.rng = seedrandom(sessionContext.timestamp);
state.rng = seedrandom(state.sessionContext.timestamp);
return state.rng();
}