Merge pull request #18936 from MrStonedOne/patch-222

Fixes charter/War declaration not respecting true round start time.
This commit is contained in:
oranges
2016-06-28 00:05:40 +12:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -50,8 +50,8 @@
if(user.z != ZLEVEL_CENTCOM)
user << "You have to be at your base to use this."
return 0
if(world.time > CHALLENGE_TIME_LIMIT)
user << "It's too late to declare hostilities. Your benefactors are already busy with other schemes. You'll have to make do with what you have on hand."
if(world.time-round_start_time > CHALLENGE_TIME_LIMIT)
user << "It's too late to declare hostilities. Your benefactors are already busy with other schemes. You'll have to make do with what you have on hand."
return 0
for(var/V in syndicate_shuttle_boards)
var/obj/item/weapon/circuitboard/computer/syndicate_shuttle/board = V
+1 -1
View File
@@ -33,7 +33,7 @@
if(used)
user << "This charter has already been used to name the station."
return
if(!ignores_timeout && (world.time > CHALLENGE_TIME_LIMIT)) //5 minutes
if(!ignores_timeout && (world.time-round_start_time > CHALLENGE_TIME_LIMIT)) //5 minutes
user << "The crew has already settled into the shift. \
It probably wouldn't be good to rename the station right now."
return