From 7f46ea348740b80824318fd564413852b7f7b717 Mon Sep 17 00:00:00 2001 From: Cloudy <36423427+meCloudy@users.noreply.github.com> Date: Thu, 13 Jun 2019 13:08:31 +0300 Subject: [PATCH 1/2] Little typo in the setting name Was checking if kidnap setting is enabled instead of checking the animation setting. --- gamemodes/irresistible/cnr/features/animations.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/animations.pwn b/gamemodes/irresistible/cnr/features/animations.pwn index f833194..6bf3617 100644 --- a/gamemodes/irresistible/cnr/features/animations.pwn +++ b/gamemodes/irresistible/cnr/features/animations.pwn @@ -366,7 +366,7 @@ stock CreateLoopingAnimation( playerid, animlib[ ], animname[ ], Float:Speed, lo { // event check #if defined __cloudy_event_system - if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) ) + if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ANIM ) ) #else if ( IsPlayerInEvent( playerid ) ) #endif From 02fc0e720f804a91284526230fbdc0eaa8638033 Mon Sep 17 00:00:00 2001 From: Cloudy <36423427+meCloudy@users.noreply.github.com> Date: Thu, 13 Jun 2019 13:08:54 +0300 Subject: [PATCH 2/2] Setting typo Was checking if kidnap setting is enabled instead of checking arresting setting. --- gamemodes/irresistible/cnr/features/cop/arrest.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/cop/arrest.pwn b/gamemodes/irresistible/cnr/features/cop/arrest.pwn index 66879ba..b68deee 100644 --- a/gamemodes/irresistible/cnr/features/cop/arrest.pwn +++ b/gamemodes/irresistible/cnr/features/cop/arrest.pwn @@ -120,7 +120,7 @@ CMD:taze( playerid, params[ ] ) // event check #if defined __cloudy_event_system - if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) ) + if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ARREST ) ) #else if ( IsPlayerInEvent( playerid ) ) #endif