define var

This commit is contained in:
LetterJay
2017-05-14 00:11:23 -05:00
parent 52fa1f314f
commit 8d237cd8bb

View File

@@ -303,7 +303,7 @@ GLOBAL_LIST_EMPTY(gravity_generators) // We will keep track of this by adding ne
use_power = on ? 2 : 1
// Sound the alert if gravity was just enabled or disabled.
var/alert = 0
var/area/area = get_area(src)
var/area/A = get_area(src)
if(on && SSticker.IsRoundInProgress()) // If we turned on and the game is live.
if(gravity_in_level() == 0)
alert = 1