fix(DisablePhone): Forgot to call disable phone feature in loop

This commit is contained in:
Yimura 2021-01-02 16:11:53 +01:00
parent 416670a174
commit a0c19f1ca1
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ namespace big
update_player_structs();
update_screen_sizes();
disable_phone();
god_mode();
never_wanted();
no_bike_fall();

View File

@ -5,7 +5,7 @@ namespace big
{
void features::disable_phone()
{
if (g_settings.options["disable_phone"].get<bool>())
if (g_settings.options["disable_phone"])
*script_global(19664).as<int*>() = 1;
}
}