diff --git a/xtrn/lord2/l2lib.js b/xtrn/lord2/l2lib.js index 89707a1264417a025e0ace1e87798b3e1cf64a85..8f6ad2789ccf66e8d1f6aefd155ac7a090f3787f 100644 --- a/xtrn/lord2/l2lib.js +++ b/xtrn/lord2/l2lib.js @@ -40,8 +40,10 @@ function savetime() function player_put() { - player.lastsaved = savetime(); - player.put(); + if (player.Record !== undefined) { + player.lastsaved = savetime(); + player.put(); + } } var Player_Def = [