juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

Time Trials don't work, dustrac just exits #95

Closed Korodny closed 4 years ago

Korodny commented 4 years ago

I go to settings, switch game mode to time trial, back to main menu with ESC, then try to start a race (Infinity track) - the game just exists. Here's the console output:

[Fri May 1 17:54:45 2020] <I> Time Trial selected. [Fri May 1 17:54:49 2020] <I> Easy selected. [Fri May 1 17:54:51 2020] <I> 5 laps selected. [Fri May 1 17:54:52 2020] <F> vector::_M_range_check: __n (which is 1) >= this->size() (which is 1) [Fri May 1 17:54:52 2020] <F> Initializing the game failed!

Korodny commented 4 years ago

sry, forgot: dustrac 2.0.5 on Debian Testing.

juzzlin commented 4 years ago

Shit, seems so! Thanks for reporting!

juzzlin commented 4 years ago

Fixed in 8722d43e4158c2b87b94676b0365266e2eda11ea