ok putnom

This commit is contained in:
kevinz000
2020-01-23 18:00:33 -07:00
parent 5cbe2226e1
commit e7bf1738cd
4 changed files with 7 additions and 15 deletions

View File

@@ -61,9 +61,6 @@
var/late_joiner = FALSE
var/force_escaped = FALSE // Set by Into The Sunset command of the shuttle manipulator
var/hijack_speed = 0 //whether or not we can hackerman the shuttle and hijack it. 0 means you can't, 1 is normal speed hack, 2 is double, 0.5 is half, etc.
var/list/learned_recipes //List of learned recipe TYPES.
/datum/mind/New(var/key)
@@ -717,11 +714,10 @@
G.reenter_corpse()
/// Sets our can_hijack to the fastest speed our antag datums allow.
/datum/mind/proc/update_hijack_speed()
hijack_speed = 0
/datum/mind/proc/get_hijack_speed()
. = 0
for(var/datum/antagonist/A in antag_datums)
hijack_speed = max(hijack_speed, A.hijack_speed())
return hijack_speed
. = max(., A.hijack_speed())
/datum/mind/proc/has_objective(objective_type)
for(var/datum/antagonist/A in antag_datums)