Fixed indentation in ScrCmd_faceplayer

This commit is contained in:
LOuroboros committed 2022-11-08 21:01:50 -03:00
1 parent 0a6de12b5e
commit a35986fd9c
1 file changed
+1 -4
+1 -4
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;
}