Little typo in the setting name
Was checking if kidnap setting is enabled instead of checking the animation setting.
This commit is contained in:
parent
a2f11b3786
commit
7f46ea3487
@ -366,7 +366,7 @@ stock CreateLoopingAnimation( playerid, animlib[ ], animname[ ], Float:Speed, lo
|
|||||||
{
|
{
|
||||||
// event check
|
// event check
|
||||||
#if defined __cloudy_event_system
|
#if defined __cloudy_event_system
|
||||||
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) )
|
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ANIM ) )
|
||||||
#else
|
#else
|
||||||
if ( IsPlayerInEvent( playerid ) )
|
if ( IsPlayerInEvent( playerid ) )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user