Fix for ordering hidden supplypacks.

This commit is contained in:
Segrain
2013-06-09 10:25:27 +03:00
parent 76d1ddaa26
commit 673f3ddb37
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ var/list/mechtoys = list(
temp += "<b>Request from: [last_viewed_group]</b><BR><BR>"
for(var/supply_name in supply_shuttle.supply_packs )
var/datum/supply_packs/N = supply_shuttle.supply_packs[supply_name]
if(N.hidden || (N.contraband && !can_order_contraband) || N.group != last_viewed_group) continue //Have to send the type instead of a reference to
if((N.hidden && !hacked) || (N.contraband && !can_order_contraband) || N.group != last_viewed_group) continue //Have to send the type instead of a reference to
temp += "<A href='?src=\ref[src];doorder=[supply_name]'>[supply_name]</A> Cost: [N.cost]<BR>" //the obj because it would get caught by the garbage
/*temp = "Supply points: [supply_shuttle.points]<BR><HR><BR>Request what?<BR><BR>"
+8
View File
@@ -57,6 +57,14 @@ Stuff which is in development and not yet visible to players or just code relate
(ie. code improvements for expandability, etc.) should not be listed here. They
should be listed in the changelog upon commit though. Thanks. -->
<div class="commit sansserif">
<h2 class="date">09.06.2013</h2>
<h3 class="author">Segrain updated:</h3>
<ul class="changes bgimages16">
<li class="bugfix">Emagged supply console can order SpecOp crates again.</li>
</ul>
</div>
<div class="commit sansserif">
<h2 class="date">Meyar</h2>
<h3 class="author">6/6/13 updated:</h3>