mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Offship Piloting Fix (#22835)
Ghost roles or anything that doesn't use skills is no longer checked for them by Pilot: Spacecraft. (https://github.com/Aurorastation/Aurora.3/issues/22819) Also fixes a similar oversight on using emitters. (https://github.com/Aurorastation/Aurora.3/issues/22526)
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
activate(user)
|
||||
return TRUE
|
||||
|
||||
if(max_engineering_skill <= SKILL_LEVEL_TRAINED)
|
||||
if(max_engineering_skill && max_engineering_skill <= SKILL_LEVEL_TRAINED)
|
||||
to_chat(user, SPAN_WARNING("You try to find the switch on \the [src]... How do you even turn this thing on?"))
|
||||
if(!do_after(user, 3 SECONDS + 1.5 SECONDS * (SKILL_LEVEL_TRAINED - max_engineering_skill)))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user