I've learned this the hard way - joint compound dries way slower than you'd think, especially if your bedroom isn't getting good air circulation. Most standard stuff needs a solid 24 hours minimum, but humidity really does kill the timeline; if it's sticky and damp where you are, you might be looking at 36-48 hours before it's actually ready to sand.
The sneaky part that catches people is that it can *feel* dry on the surface while still being soft underneath, so if you sand too early you'll just gunk up your sandpaper and end up with a mess.
Keep a fan going in there and crack a window if you can - that'll help way more than just waiting.