Advertisement
Guest User

Untitled

a guest
May 29th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. textbutton _("Save Game") action Function(saveGame)
  2.  
  3. ...
  4.  
  5. init -1 python:
  6.  
  7. def saveGame():
  8. l = FileUsedSlots()
  9. if l:
  10. l = l[-1]
  11. else:
  12. l = 1
  13. FileSave(l)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement