From 90a52edbe0d27912e673ed30255bd25d6514c2fa Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Thu, 28 Mar 2024 00:07:52 -0700 Subject: [PATCH] Lowercase curweather/lastlowestlap --- src/lua_script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua_script.c b/src/lua_script.c index ba3c54f44..fbcc4526e 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -285,7 +285,7 @@ int LUA_PushGlobals(lua_State *L, const char *word) } else if (fastcmp(word,"starttime")) { lua_pushinteger(L, starttime); return 1; - } else if (fastcmp(word,"curWeather")) { + } else if (fastcmp(word,"curweather")) { lua_pushinteger(L, curWeather); return 1; } else if (fastcmp(word,"globalweather")) { @@ -351,7 +351,7 @@ int LUA_PushGlobals(lua_State *L, const char *word) } else if (fastcmp(word,"thwompsactive")) { lua_pushboolean(L, thwompsactive); return 1; - } else if (fastcmp(word,"lastLowestLap")) { + } else if (fastcmp(word,"lastlowestlap")) { lua_pushinteger(L, lastLowestLap); return 1; } else if (fastcmp(word,"spbplace")) {