Skip to content

Commit

Permalink
Поправил баг и изменил время на голосование за шаттл до 180 секунд.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Mar 2, 2024
1 parent eede7ef commit bddd4d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/autotransfer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SUBSYSTEM_DEF(autotransfer)
if(world.time < targettime) // BLUEMOON EDIT - было if(REALTIMEOFDAY < targettime)
return
if(maxvotes == NO_MAXVOTES_CAP || maxvotes > curvotes)
SSvote.initiate_vote("transfer","server", votesystem=APPROVAL_VOTING)
SSvote.initiate_vote("transfer","server", votesystem=APPROVAL_VOTING, vote_time = 1800)
targettime = targettime + voteinterval
curvotes++
else
Expand Down
5 changes: 4 additions & 1 deletion code/modules/surgery/bodyparts/_bodyparts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,10 @@
/obj/item/bodypart/proc/update_limb(dropping_limb, mob/living/carbon/source)
body_markings_list = list()
var/mob/living/carbon/C
owner.create_weakref()
if(source)
source.create_weakref()
else
owner.create_weakref()
if(source)
C = source
if(!original_owner)
Expand Down

0 comments on commit bddd4d7

Please sign in to comment.