Fixed indentation in ScrCmd_faceplayer

This commit is contained in:
LOuroboros 2022-11-08 20:52:34 -03:00
parent 0a6de12b5e
commit a35986fd9c

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;
}