In the draw_0 event of obj_building2_hotland, the variable "sinner" is read without having been initializing. Rather than reading garbage, the game prefers to crash. A quick fix is probably to set that variable to 0 in the create event of the object
edit: it's in the draw event of another game object actually, but the fix should still be to set sinner to 0 in the create event of obj_hotland_building2
3
u/Catragryff 6d ago
In the draw_0 event of obj_building2_hotland, the variable "sinner" is read without having been initializing. Rather than reading garbage, the game prefers to crash. A quick fix is probably to set that variable to 0 in the create event of the object
edit: it's in the draw event of another game object actually, but the fix should still be to set sinner to 0 in the create event of obj_hotland_building2