File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -306,9 +306,9 @@ ImportResponse = function(response) {
306306 var r = response . split ( '|' ) ;
307307 if ( response != '0' && response && r [ 0 ] == '1' ) {
308308 var i = 2 ;
309- Trees = parseInt ( r [ i ] ) ; i ++ ;
310- TpS = parseInt ( r [ i ] ) ; i ++ ;
311- CpS = parseInt ( r [ i ] ) ; i ++ ;
309+ Trees = parseFloat ( r [ i ] ) ; i ++ ;
310+ TpS = parseFloat ( r [ i ] ) ; i ++ ;
311+ CpS = parseFloat ( r [ i ] ) ; i ++ ;
312312 TotalTrees = parseInt ( r [ i ] ) ; i ++ ;
313313 TreeClicks = parseInt ( r [ i ] ) ; i ++ ;
314314 Apples = parseInt ( r [ i ] ) ; i ++ ;
@@ -336,9 +336,9 @@ ResetResponse=function() {
336336MakeSaveString = function ( ) {
337337 var str = '' ;
338338 str += Version + '|' +
339- parseInt ( Trees ) + '|' +
340- parseInt ( TpS ) + '|' +
341- parseInt ( CpS ) + "|" +
339+ parseFloat ( Trees ) + '|' +
340+ parseFloat ( TpS ) + '|' +
341+ parseFloat ( CpS ) + "|" +
342342 parseInt ( TotalTrees ) + "|" +
343343 parseInt ( TreeClicks ) + '|' +
344344 parseInt ( Apples ) + '|' + parseInt ( Buyables [ 'Apple' ] . price ) + '|' +
You can’t perform that action at this time.
0 commit comments