Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saving the game function is broken #85

Closed
PeterJust opened this issue Jun 26, 2018 · 0 comments
Closed

saving the game function is broken #85

PeterJust opened this issue Jun 26, 2018 · 0 comments
Projects
Milestone

Comments

@PeterJust
Copy link

Exception in function show at Wed Jun 27 00:40:20 2018 CEST:
Traceback (most recent call last):
File "/path/to/singularity-master/code/safety.py", line 47, in safe_call
return func(*args, **kwargs)
File "/path/to/singularity-master/code/graphics/dialog.py", line 202, in show
result = self.handle(event)
File "/path/to/singularity-master/code/graphics/dialog.py", line 329, in handle
return self.call_handlers(handlers, event)
File "/path/to/singularity-master/code/graphics/dialog.py", line 341, in call_handlers
handler(event)
File "/path/to/singularity-master/code/graphics/button.py", line 114, in handle_event
self.activate_with_sound(event)
File "/path/to/singularity-master/code/graphics/button.py", line 127, in activate_with_sound
self.activated(event)
File "/path/to/singularity-master/code/graphics/button.py", line 169, in activated
self.function(*self.args, **self.kwargs)
File "/path/to/singularity-master/code/screens/map.py", line 228, in show_menu
exit = dialog.call_dialog(self.menu_dialog, self)
File "/path/to/singularity-master/code/graphics/dialog.py", line 96, in call_dialog
retval = dialog.show()
File "/path/to/singularity-master/code/graphics/dialog.py", line 202, in show
result = self.handle(event)
File "/path/to/singularity-master/code/graphics/dialog.py", line 329, in handle
return self.call_handlers(handlers, event)
File "/path/to/singularity-master/code/graphics/dialog.py", line 341, in call_handlers
handler(event)
File "/path/to/singularity-master/code/graphics/button.py", line 114, in handle_event
self.activate_with_sound(event)
File "/path/to/singularity-master/code/graphics/button.py", line 127, in activate_with_sound
self.activated(event)
File "/path/to/singularity-master/code/graphics/button.py", line 169, in activated
self.function(*self.args, **self.kwargs)
File "/path/to/singularity-master/code/screens/map.py", line 675, in save_game
print(sv.savegame_exists(name))
File "/path/to/singularity-master/code/savegame.py", line 184, in savegame_exists
load_path = get_savegame_path(savegame_name)
NameError: global name 'get_savegame_path' is not defined

@Xenega Xenega added this to the 1.0 milestone Jun 27, 2018
@Xenega Xenega closed this as completed in 18348e4 Jun 27, 2018
@Xenega Xenega added this to Done in 1.0 Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
1.0
  
Done
Development

No branches or pull requests

2 participants