mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Preparations for the trailer
This commit is contained in:
@@ -279,7 +279,13 @@ export class MainMenuState extends GameState {
|
||||
for (let i = 0; i < games.length; ++i) {
|
||||
const elem = makeDiv(parent, null, ["savegame"]);
|
||||
|
||||
makeDiv(elem, null, ["internalId"], games[i].internalId.substr(0, 6));
|
||||
makeDiv(
|
||||
elem,
|
||||
null,
|
||||
["playtime"],
|
||||
formatSecondsToTimeAgo((new Date().getTime() - games[i].lastUpdate) / 1000.0)
|
||||
);
|
||||
|
||||
makeDiv(
|
||||
elem,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user