Skip to content
Permalink
Browse files

Remove extra =

  • Loading branch information
ForbodingAngel committed Jan 2, 2020
1 parent 781c05e commit b1307897af0393e63c9b9fd8e8de3ac6743aaf16
Showing with 1 addition and 1 deletion.
  1. +1 −1 LuaUI/Widgets_Evo/snd_ambientSoundPlayer.lua
@@ -37,7 +37,7 @@ function widget:GameFrame(n)
if myFaction == nil then
Spring.Echo("[Ambient Background Sound Player] If you're seeing this message that means that the code which sets the player's faction is absolutely fucked somewhere. On the next line I will echo the myFaction variable (It will be nil). If it says anything other than the factions listed in game_spawn.lua (it will), at least it will provide a clue. Additionally I will manually set the player faction to ateran so that it doesn't crash and burn. Happy bug hunting!")
Spring.Echo(myFaction)
myFaction == "ateran"
myFaction = "ateran"
else
Spring.Echo("[Ambient Background Sound Player] Player faction is " .. myFaction)
end

0 comments on commit b130789

Please sign in to comment.
You can’t perform that action at this time.