Red Hat Bugzilla – Bug 188078
can't save levels from level-editor
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
levels built with the level-editor aren't saved
Steps to Reproduce:
1. open njam
2. open the level edit
3. make a level and mark it as playable
4. save it with "save" or "save as"
the level isn't written to disk
the level is stored to disk
I'll take a look into this when time permits.
njam changes to the game directory /usr/share/njam on startup, and tries to save
levels to levels/<name> when saving new levels. The user doesn't have write
permission to this directory, so the save fails, but no error is reported back
to the user.
I've written a patch that fixes this 1.25-3 should show up on a mirror near you
soon, here is the ChangeLog entry:
* Tue May 9 2006 Hans de Goede <firstname.lastname@example.org> 1.25-3
- Add Patch2, which fixes the leveleditor to save custom made levels under
$HOME/.njam-levels instead of trying to write them under /usr/share.
Also teach njam to look for levels under both $HOME/.njam-levels and
/usr/share (bug 188078).