fixed a game breaking bug

i noticed a bug on another computer and hopefully it is fixed now