Tomas Sedovic
Tomas Sedovic
All right, this commit should fix the healing issue: https://github.com/tomassedovic/roguelike-tutorial/commit/8b4b1446fe4a954f04bb9a8a869f2dfe875b8cff Thanks!
Yeah, so when you assign a value to another variable or say a function directly (i.e. not by a reference), it gets moved and you can't access it from the...
I've managed to reproduce this locally and the browser console had this error: ``` Uncaught (in promise) RuntimeError: unreachable at __rust_start_panic (http://localhost:8000/quicksilver-roguelike.wasm:wasm-function[3915]:0xa5efc) at rust_panic (http://localhost:8000/quicksilver-roguelike.wasm:wasm-function[3909]:0xa5bf7) at _ZN3std9panicking20rust_panic_with_hook17h5395f3796c27894aE (http://localhost:8000/quicksilver-roguelike.wasm:wasm-function[3904]:0xa591b) at rust_begin_unwind...
Oh, I'm sorry! The license is specified in `Cargo.toml` in the top-level of the file but I should make it more prominent. It's [WTFPL](http://www.wtfpl.net/about/). In other words, you can do...