mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Vorepanel fixes + VTEC toggle
fixed typo in the vorepanel tgui, resulting in Item Vorebelly Size Mult: not being changebale fixed a wrong variable use which led to broken sprites in case the Mob Vorebelly Size Mult: was tset to 0. added VTEC toggle.
This commit is contained in:
@@ -86,9 +86,9 @@
|
||||
/obj/item/borg/upgrade/vtec/action(var/mob/living/silicon/robot/R)
|
||||
if(..()) return 0
|
||||
|
||||
if(R.speed == -1)
|
||||
if(R.speed == -1 || (/mob/living/silicon/robot/proc/toggle_vtec in R.verbs))
|
||||
return 0
|
||||
|
||||
R.verbs += /mob/living/silicon/robot/proc/toggle_vtec
|
||||
R.speed--
|
||||
return 1
|
||||
|
||||
@@ -214,4 +214,4 @@
|
||||
R.add_language(LANGUAGE_TERMINUS, 1)
|
||||
R.add_language(LANGUAGE_ZADDAT, 1)
|
||||
|
||||
return 1
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user