fix(tests): if singleton event, always provide empty string suffix

This commit is contained in:
SabreCat
2022-12-19 16:22:20 -06:00
parent fd9d738cc6
commit 64bf4ee4b6

View File

@@ -27,6 +27,9 @@ export function getCurrentEvent () {
});
if (!currEvtKey) return null;
if (!common.content.events[currEvtKey].npcImageSuffix) {
common.content.events[currEvtKey].npcImageSuffix = '';
}
return {
event: currEvtKey,
...common.content.events[currEvtKey],