Fixes certain compile errors with the taser, baton.

Simple code certainly needs testing, regardless of the hour.
This commit is contained in:
Datraen
2016-05-12 18:38:41 -04:00
parent 3d9435c9b3
commit 3a666dbd7f
3 changed files with 22 additions and 12 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
w_class = 3
origin_tech = list(TECH_COMBAT = 2)
attack_verb = list("beaten")
var/lightcolor = "#FF6A00"
var/stunforce = 0
var/agonyforce = 60
var/status = 0 //whether the thing is on or not
@@ -52,7 +53,7 @@
icon_state = "[initial(name)]"
if(icon_state == "[initial(name)]_active")
set_light(1.5, 1, "#FF6A00")
set_light(1.5, 1, lightcolor)
else
set_light(0)