This website requires JavaScript.
Explore
Help
Sign In
Mahtan
/
wagic
Watch
1
Star
0
Fork
0
You've already forked wagic
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
42cdd27e0b597746faa22f78beae6da5fe5b936c
wagic
/
projects
T
History
techdragon.nguyen@gmail.com
42cdd27e0b
fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places.
2012-02-23 02:11:14 +00:00
..
mtg
fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places.
2012-02-23 02:11:14 +00:00