Skip to content

Commit

Permalink
Merge pull request #3 from GammaStation/master
Browse files Browse the repository at this point in the history
Обновление коммита
  • Loading branch information
SanecMan authored Dec 3, 2018
2 parents 55ef736 + 6236e11 commit 0672899
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ var/list/airlock_overlays = list()
return ((!secondsMainPowerLost || !secondsBackupPowerLost) && !(stat & NOPOWER))

/obj/machinery/door/airlock/requiresID()
return !(isWireCut(AIRLOCK_WIRE_IDSCAN) || aiDisabledIdScanner) || !req_access.len
return !check_access(null) && !(isWireCut(AIRLOCK_WIRE_IDSCAN) || aiDisabledIdScanner)

/obj/machinery/door/airlock/proc/isAllPowerCut()
if(isWireCut(AIRLOCK_WIRE_MAIN_POWER1) || isWireCut(AIRLOCK_WIRE_MAIN_POWER2))
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/doors/door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
else
close()
return
else if(density)
else if(density && Adjacent(user))
do_animate("deny")


Expand Down Expand Up @@ -356,7 +356,7 @@


/obj/machinery/door/proc/requiresID()
return FALSE
return !check_access(null)

/obj/machinery/door/update_nearby_tiles(need_rebuild)
. = ..()
Expand Down
3 changes: 1 addition & 2 deletions code/game/machinery/doors/windowdoor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
var/mob/M = AM
if(!M.restrained())
bumpopen(M)
return

/obj/machinery/door/window/bumpopen(mob/user)
if( operating || !src.density )
Expand All @@ -127,7 +126,7 @@

if(allowed(user))
open_and_close()
else
else if(Adjacent(user)) // Telekinesis be a bitch.
do_animate("deny")

/obj/machinery/door/window/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
Expand Down
1 change: 0 additions & 1 deletion code/modules/thunderfield2562/thunderfield_gamepod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
component_parts += new /obj/item/weapon/stock_parts/console_screen(null)
component_parts += new /obj/item/weapon/stock_parts/matter_bin(null)
component_parts += new /obj/item/weapon/stock_parts/manipulator(null)
component_parts += new /obj/item/stack/cable_coil/random(null, 1)
RefreshParts()

//Code for attackby
Expand Down
12 changes: 12 additions & 0 deletions html/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ <h4 class="author">Miracler112:</h4>
<li class="bugfix">Теперь шлюзы, шкафы и всё остальное работает корректно.</li>
</ul>
</div>
<div data-author="Luduk">
<h4 class="author">Luduk:</h4>
<ul class="changelog">
<li class="bugfix">Стеклянные двери работают корректно.</li>
</ul>
</div>
<div data-author="SanecMan">
<h4 class="author">SanecMan:</h4>
<ul class="changelog">
<li class="balance">Удалён спавн лишнего провода при разборке VR pod.</li>
</ul>
</div>
</div>
</div>
<div class="row" data-date="02.12.2018">
Expand Down

0 comments on commit 0672899

Please sign in to comment.