diff --git a/Aquaria/ScriptInterface.cpp b/Aquaria/ScriptInterface.cpp index 2b5d1d6..25eae88 100644 --- a/Aquaria/ScriptInterface.cpp +++ b/Aquaria/ScriptInterface.cpp @@ -2115,7 +2115,7 @@ luaFunc(shot_setMaxSpeed) { Shot *shot = getShot(L); if (shot) - shot->homingness = lua_tonumber(L, 2); + shot->maxSpeed = lua_tonumber(L, 2); luaReturnNil(); }