bastiencro / Twitometer

A race based on twitter for interaction 18
MIT License
0 stars 2 forks source link

Issue with "var b64contentred = fs.readFile('D:\\Documents\\GitHub\\Twitometer\\gif\\lap_red.gif', { encoding: 'base64' })" #1

Open bastiencro opened 6 years ago

bastiencro commented 6 years ago

fs.readFileSync needs to be used in order to send media after a certain number of tweets. However, the 'Sync' part blocks the movement of the cars when the mod == 0. The 'fs.readFile' flat out doesn't work

bastiencro commented 6 years ago

Same thing happens with the scoreboard sorting. This one though might not be as big of a problem since the cars are not supposed to move when the scoreboard sorting is initialized.