H
Homunculus
Guest
The code looks ok at a first glance. That’s the output you’d expect in case there are no instances of obj_saveable in the room. You can verify if that’s the case by adding a show_debug_message inside the with statement (try just outputting something like “instance” + string(i) ). If you get no output message, it means the with content is never run.
Edit: i just saw your code for adding the instance map is inside the switch statement... you need to correct that, it makes no sense (does that even compile?). Also, as said before, you need to destroy the main map after this whole process, not the instance map.
Edit: i just saw your code for adding the instance map is inside the switch statement... you need to correct that, it makes no sense (does that even compile?). Also, as said before, you need to destroy the main map after this whole process, not the instance map.
Last edited by a moderator: