mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
Fixes compile
This commit is contained in:
@@ -456,10 +456,10 @@
|
||||
is_wieldable = TRUE
|
||||
|
||||
firemodes = list(
|
||||
list(mode_name="2 second burst", burst=10, burst_delay = 1, fire_delay = 20),
|
||||
list(mode_name="4 second burst", burst=20, burst_delay = 1, fire_delay = 40),
|
||||
list(mode_name="6 second burst", burst=30, burst_delay = 1, fire_delay = 60),
|
||||
list(mode_name="point-burst auto", can_autofire = TRUE, burst = 1, fire_delay = 1, burst_accuracy = list(0,-1,-1,-2,-2,-2,-3,-3), dispersion = list(1.0, 1.0, 1.0, 1.0, 1.2))
|
||||
list(mode_name="2 second burst", can_autofire = FALSE, burst=10, burst_delay = 1, fire_delay = 20, burst_accuracy = null, dispersion = null),
|
||||
list(mode_name="4 second burst", can_autofire = FALSE, burst=20, burst_delay = 1, fire_delay = 40, burst_accuracy = null, dispersion = null),
|
||||
list(mode_name="6 second burst", can_autofire = FALSE, burst=30, burst_delay = 1, fire_delay = 60, burst_accuracy = null, dispersion = null),
|
||||
list(mode_name="point-burst auto", can_autofire = TRUE, burst = 1, burst_delay = null, fire_delay = 1, burst_accuracy = list(0,-1,-1,-2,-2,-2,-3,-3), dispersion = list(1.0, 1.0, 1.0, 1.0, 1.2))
|
||||
)
|
||||
|
||||
action_button_name = "Wield thermal drill"
|
||||
@@ -467,8 +467,7 @@
|
||||
needspin = FALSE
|
||||
|
||||
/obj/item/gun/energy/vaurca/thermaldrill/special_check(var/mob/user)
|
||||
var/datum/firemode/current_mode = firemodes[sel_mode]
|
||||
if(current_mode.can_autofire)
|
||||
if(can_autofire)
|
||||
return ..()
|
||||
if(is_charging)
|
||||
to_chat(user, "<span class='danger'>\The [src] is already charging!</span>")
|
||||
|
||||
Reference in New Issue
Block a user