mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Revert "fix(tests): if singleton event, always provide empty string suffix"
This reverts commit 64bf4ee4b6.
This commit is contained in:
@@ -27,9 +27,6 @@ export function getCurrentEvent () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!currEvtKey) return null;
|
if (!currEvtKey) return null;
|
||||||
if (!common.content.events[currEvtKey].npcImageSuffix) {
|
|
||||||
common.content.events[currEvtKey].npcImageSuffix = '';
|
|
||||||
}
|
|
||||||
return {
|
return {
|
||||||
event: currEvtKey,
|
event: currEvtKey,
|
||||||
...common.content.events[currEvtKey],
|
...common.content.events[currEvtKey],
|
||||||
|
|||||||
Reference in New Issue
Block a user