Fixed crash when trying to change a battle animation's foreground image

This commit is contained in:
Maruno17
2023-01-26 18:37:11 +00:00
parent a0af8e6eb5
commit 2d056052ce

View File

@@ -304,7 +304,7 @@ class PBAnimTiming
text = sprintf("[%d] Set FG: \"%s\"", @frame + 1, name) text = sprintf("[%d] Set FG: \"%s\"", @frame + 1, name)
text += sprintf(" (color=%s,%s,%s,%s)", text += sprintf(" (color=%s,%s,%s,%s)",
@colorRed || "-", @colorRed || "-",
@colorGreen | "-", @colorGreen || "-",
@colorBlue || "-", @colorBlue || "-",
@colorAlpha || "-") @colorAlpha || "-")
text += sprintf(" (opacity=%d)", @opacity) text += sprintf(" (opacity=%d)", @opacity)