Fixed typos in quick n' dirty tutorial.

This commit is contained in:
John Goben 2020-11-27 15:26:52 -05:00 committed by The Phantom Derpstorm
parent 38473d39fe
commit 76065527f7

View File

@ -18,7 +18,7 @@ print(a,b,c)
sol::load_result fx = lua.load(my_script); sol::load_result fx = lua.load(my_script);
if (!fx.valid()) { if (!fx.valid()) {
sol::error err = fx; sol::error err = fx;
std::cerr << "failde to load string-based script in the program" << err.what() << std::endl; std::cerr << "failed to load string-based script into the program" << err.what() << std::endl;
} }
// prints "your arguments here" // prints "your arguments here"