Skip to content

Commit

Permalink
Fix: typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Yexo committed Sep 25, 2012
1 parent acbabe3 commit e59b27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nml/actions/action5.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def parse_action5(replaces):
raise generic.ScriptError("replacenew parameter 'offset' must be zero for sprite replacement type '%s'" % replaces.type, replaces.pos)
elif block_type == Action5BlockType.OFFSET:
if num_sprites + replaces.offset > num_required:
generic.print_warning("Exceeding the limit of %d spriets for sprite replacement type '%s', extra sprites may be ignored" % (num_required, replaces.type), replaces.pos)
generic.print_warning("Exceeding the limit of %d sprites for sprite replacement type '%s', extra sprites may be ignored" % (num_required, replaces.type), replaces.pos)
if replaces.offset != 0 or num_sprites != num_required:
offset = replaces.offset
else:
Expand Down

0 comments on commit e59b27f

Please sign in to comment.