Skip to content

Commit

Permalink
feat(zc): 'Toggle Lights' cheat works on new dark rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Apr 8, 2024
1 parent 8f50a32 commit 1f74bdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zc/hero.cpp
Expand Up @@ -8155,8 +8155,7 @@ heroanimate_skip_liftwpn:;

if(cheats_execute_light)
{
naturaldark = !naturaldark;
lighting(false, false, pal_litOVERRIDE);//Forcibly set permLit, overriding its current setting
toggle_lights(pal_litOVERRIDE); //Forcibly set permLit, overriding its current setting
cheats_execute_light = false;
}

Expand Down

0 comments on commit 1f74bdc

Please sign in to comment.