Commit 8ca8db42 authored by Rennarde's avatar Rennarde
Browse files

Small fix to boolean check

parent e80314f6
......@@ -174,7 +174,7 @@ func (s *System) Update() {
if s.Content[i].Overflow == false {
s.Content[i].PositionX += s.Content[i].SpeedX
s.Content[i].PositionY += s.Content[i].SpeedY
if config.General.Gravity{
if config.General.Gravity != 0 {
s.Content[i] = gravite(s.Content[i])
}
if config.General.GravityCenter{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment