mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-27 07:37:24 -04:00
don't run hyper enemies while an event is running
This commit is contained in:
@@ -336,7 +336,8 @@ static int fopAc_Execute(void* i_this) {
|
||||
#endif
|
||||
|
||||
#if TARGET_PC
|
||||
if (actor->group == fopAc_ENEMY_e && dusk::getSettings().game.hyperEnemies) {
|
||||
if (dusk::getSettings().game.hyperEnemies && actor->group == fopAc_ENEMY_e && !dComIfGp_event_runCheck())
|
||||
{
|
||||
fpcMtd_Execute((process_method_class*)actor->sub_method, actor);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user