Ever since I ported my game to Xbox with XNA the code that’s supposed to modify and remove entries on the as such as chests, NPC ect hasn’t been working. It worked while I was testing on the PC but now it isn’t. I double checked over a previous build and it’s all the same so I can’t reason out what’s wrong, I’ve also debugged the hell out of it but everything returns as it should be.
Here is the code that modifies/removes content: http://pastebin.com/9QKEhAM3
I think if anything that’s where the hiccup will be at I just can’t find it. I definitely think it’s something to do with the one of the quirks of PC/XBOX differences because when I create another windows version of my game Chests and NPC disappear as they should.
If you could help it would be much appreciated.
I managed to fix it! It’s a really ugly fix but a fix never the less. What I did was simply removed the if removedEntries > 0 conditional. Works like a charm! I’d really like to thank @Blau for all your help as well 🙂