Merge pull request #1816 from LOuroboros/patch-1

Fixed indentation in ScrCmd_faceplayer
This commit is contained in:
GriffinR 2022-11-08 19:07:34 -05:00 committed by GitHub
commit 9e24fe6ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1152,10 +1152,7 @@ bool8 ScrCmd_resetobjectsubpriority(struct ScriptContext *ctx)
bool8 ScrCmd_faceplayer(struct ScriptContext *ctx)
{
if (gObjectEvents[gSelectedObjectEvent].active)
{
ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent],
GetPlayerFacingDirection());
}
ObjectEventFaceOppositeDirection(&gObjectEvents[gSelectedObjectEvent], GetPlayerFacingDirection());
return FALSE;
}