Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
фикс квадратных крыш шаттлов лол
Browse files Browse the repository at this point in the history
  • Loading branch information
Valtosin committed Jan 27, 2022
1 parent 644055d commit 0986fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/shuttle/docking.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
var/turf/oldT = old_turfs[i]
var/turf/newT = new_turfs[i]
var/turf/newCeiling = get_step_multiz(newT, UP)
if(newCeiling && istype(newCeiling, /turf/open/openspace))
if(!isspaceturf(newT) && newCeiling && istype(newCeiling, /turf/open/openspace))
newCeiling.ChangeTurf(/turf/open/floor/engine/hull/shipceiling, list(/turf/open/openspace))
var/turf/oldCeiling = get_step_multiz(oldT, UP)
if(oldCeiling && istype(oldCeiling, /turf/open/floor/engine/hull/shipceiling))
Expand Down

0 comments on commit 0986fa7

Please sign in to comment.