[BUG] farmyard stables broken
Expected Behavior
Opening the stable from the farmyard should not raise an exception :)
Current Behavior
Opening the stable from the farmyard raise a TypeError
Passage: Farmyard Animals; Version: 1218#63cd5bca84
TypeError: crypto.randomUUID is not a function
addAnimal@http://raod.lan/preg/ line 595152 > eval:276472:81
App.Facilities.Farmyard.animals@http://raod.lan/preg/ line 595152 > eval:276097:14
@http://raod.lan/preg/ line 595152 > eval:3626:34
render@http://raod.lan/preg/ line 595152 > eval:1384:16
enginePlay@http://raod.lan/preg/:595152:269067
App.UI.DOM.passageLink/res.onclick@http://raod.lan/preg/ line 595152 > eval:379979:10
Steps to Reproduce
- go to the farmyard
- open stables or kennels or cages
Additional information
- Issue source:
- Commit/line: 81e66ce9
- PR: !11588 (merged)
I'm no js/web dev I do not know what to propose to bypass this issue, is it due to my browsers not supporting yet the function or a lib not updated ? (both chromium v120.0.6099.71 and firefox v120.0 do this)
[Edit]
From what I see, it seem that this function is available only in secure contexts (HTTPS). Do someone know a good alternative ?
Edited by soso