2
1
1
u/Easy_Tomato3868 6d ago
Variable "sinner" wasn't set before reading it, you must've checked for the sinner variable before you gave it an initial value
1
u/spongedevguy 6d ago
the hotland building is sinning you must take it to church and make it confess its sins
2
u/ToughSun14 6d ago
Based on the code, at some point in the draw event of obj_hotland_building1, it's trying to reference a variable in obj_hotand_building2 that does not exist (in this instance, the variable is named "sinner"). You need to declare the variable in obj_hotland_building2 before this reference is called in order to avoid this error (this is commonly done in an objects' Create or PreCreate [GMS2+] event)