Removed globalplayer_bd IsInvisible set call. (#2416)

This commit is contained in:
gir489 2023-11-16 13:47:19 -05:00 committed by GitHub
parent f477190f60
commit cac7a4aed5

View File

@ -24,14 +24,11 @@ namespace big
if (g.self.local_visibility)
NETWORK::SET_ENTITY_LOCALLY_VISIBLE(self::ped);
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = true;
}
virtual void on_disable() override
{
ENTITY::SET_ENTITY_VISIBLE(self::ped, true, 0);
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = false;
g_script_patcher_service->update();
}
};