fix(DisablePhone): Forgot to call disable phone feature in loop
This commit is contained in:
parent
416670a174
commit
a0c19f1ca1
@ -12,6 +12,7 @@ namespace big
|
||||
update_player_structs();
|
||||
update_screen_sizes();
|
||||
|
||||
disable_phone();
|
||||
god_mode();
|
||||
never_wanted();
|
||||
no_bike_fall();
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user