mirror of https://github.com/shadowfacts/type.git
Fix error when loading legacy chunk
This commit is contained in:
parent
4ce5e72ccb
commit
e460c9ca71
|
@ -530,7 +530,11 @@ function saveCursor(obj) {
|
|||
}
|
||||
|
||||
function loadElapsedTime(obj) {
|
||||
elapsedTime = obj.elapsedTime;
|
||||
if (obj && obj.elapsedTime) {
|
||||
elapsedTime = obj.elapsedTime;
|
||||
} else {
|
||||
elapsed = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function saveElapsedTime(obj) {
|
||||
|
|
Loading…
Reference in New Issue