PTR: bug on `Game.market.getAllOrders`


  • Culture

    To reproduce go to shard1 on PTR and run this-

    Game.market.getAllOrders({type: ORDER_BUY, resourceType: 'XUHO2'})
    

    Result-

    cachedOrders[resourceType][i].price /= 1000;
                                                        ^
    
    TypeError: Cannot create property 'price' on string '{'
        at Object.getAllOrders (evalmachine.<anonymous>:1:72)
        at sigintHandlersWrap (vm.js:92:15)