mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* Departmental Economy (#36445) * Cargo Accounts, Request Consoles, and lock boxes * Funding Allocation Computer * final changes * test fix * remove dumb code * ScarKy0 review * first cour * second cour * Update machines.yml * review --------- Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: Milon <milonpl.git@proton.me> (cherry picked from commit12b75beeab) * Fix station income instantly accumulating roundstart (#36572) Fix station money accumulating roundstart (cherry picked from commited3e4c7d4e) * DeltaV departmental economy --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
co-authored by
Nemanja
parent
0cef9216d5
commit
fd728fdd08
@@ -86,7 +86,7 @@ namespace Content.Server.Stack
|
||||
public EntityUid Spawn(int amount, StackPrototype prototype, EntityCoordinates spawnPosition)
|
||||
{
|
||||
// Set the output result parameter to the new stack entity...
|
||||
var entity = Spawn(prototype.Spawn, spawnPosition);
|
||||
var entity = SpawnAtPosition(prototype.Spawn, spawnPosition);
|
||||
var stack = Comp<StackComponent>(entity);
|
||||
|
||||
// And finally, set the correct amount!
|
||||
|
||||
Reference in New Issue
Block a user