hhhhddh Posted April 23, 2022 Share Posted April 23, 2022 I think it is a spelling mistake of inst Link to comment https://forums.kleientertainment.com/forums/topic/139570-a-spelling-mistake-in-wolfganglua/ Share on other sites More sharing options...
Friendly Grass Posted April 23, 2022 Share Posted April 23, 2022 Nice catch but it doesn't matter. Spoiler That's because this function is always called with a truthy `val` argument. `isnt.bell_percent` is then never evaluated due to short circuit evaluation. If it was evaluated it would cause an indexing a nil value crash. If you see something like this in the future and it actually causes a bug or cash in game, you can report it on the bug on the bug tracker! Link to comment https://forums.kleientertainment.com/forums/topic/139570-a-spelling-mistake-in-wolfganglua/#findComment-1562424 Share on other sites More sharing options...
hhh2 Posted April 23, 2022 Share Posted April 23, 2022 5 hours ago, Friendly Grass said: Nice catch but it doesn't matter. Hide contents That's because this function is always called with a truthy `val` argument. `isnt.bell_percent` is then never evaluated due to short circuit evaluation. If it was evaluated it would cause an indexing a nil value crash. If you see something like this in the future and it actually causes a bug or cash in game, you can report it on the bug on the bug tracker! what if it's used in the future with val being nil? Probably still worth reporting Link to comment https://forums.kleientertainment.com/forums/topic/139570-a-spelling-mistake-in-wolfganglua/#findComment-1562578 Share on other sites More sharing options...
Developer JesseB_Klei Posted April 24, 2022 Developer Share Posted April 24, 2022 Corrected. Thank you for the report! For more bug reports could I ask you to add them on bug tracker at https://forums.kleientertainment.com/klei-bug-tracker/dont-starve-together/ Discussion forums are harder to see these. Link to comment https://forums.kleientertainment.com/forums/topic/139570-a-spelling-mistake-in-wolfganglua/#findComment-1562688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.