File:30210131142343 1.jpg
Summary
This is a Warden from Ubisoft's For Honor
Licensing
gollark: If it ever doesn't work as intended, reality and/or the user are wrong.
gollark: As always\*, my code is correct\*\*.
gollark: See, function calls are different to just directly passing a function.
gollark: ```luaparallel.waitForAny(dostuff, function() while true do local _, char = os.pullEvent "char" if char == "e" then return end endend)```(Excuse my indentation, I'm on mobile)
gollark: Two main options:- refactor the while loop so it just pulls events in a loop and handles keys appropriately- use parallel
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.