# do what needs to be done on each pulse
muffmisc.on_pulse()
- # the loop has terminated, so save persistent variables
+ # the loop has terminated, so save persistent data
muffvars.save()
+ muffuniv.universe.save()
# log a final message
muffmisc.log("Shutting down now.")