Fix shaders
Fix battles not ending properly.