396e95d
M Deria, M Paik, M Poke, M Skyfly, M Woader, M Mario_reloaded, M One Way, M Old Style - ddnet-mapshtop
or am i confused. I somehow expected to see a docker process insteadthen
?m_aNetClients
was introduced during my
rebasing of #5205.
Fixes #5618.
kill
. It does not show the kill message in teeworlds but it works in DDNet client.Pack
methods as const.
And remove a null check that only serves to hide programmer errors.
if a rank has finishes > 0 then it's also got a rank, first_finish and time
Doesn't that kinda make sense? How would you want it to display the player's rank? I'm unsure what language you're using, but it's really easy to check if a property is null, and there make the assumption that the player doesn't have a finish.
What's wrong with using keys on the object, also as Ryozuki said it's really easy to loop over an object.
You're only fair criticism is that there is no documentation, which I assume is because deen throw this togheter in 30 minutes :)
TL:DR You're incredibly lazy, and expect the API to be doing everything for you. <3 @Sans (edited)if a rank has finishes > 0 then it's also got a rank, first_finish and time
Doesn't that kinda make sense? How would you want it to display the player's rank? I'm unsure what language you're using, but it's really easy to check if a property is null, and there make the assumption that the player doesn't have a finish.
What's wrong with using keys on the object, also as Ryozuki said it's really easy to loop over an object.
You're only fair criticism is that there is no documentation, which I assume is because deen throw this togheter in 30 minutes :)
TL:DR You're incredibly lazy, and expect the API to be doing everything for you. <3 @Sans (edited)npm i ddnet
. There are no other projects in the npm registry using ddnet.for(let key in Object.keys(data)) {
let value = data[key];
}
for (let [map, data] of Object.entries(dct))
vs for (let map_data in arr)
looks about similar to me if iteration is what you are looking for