mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-28 23:32:30 +08:00
Let thieves Steal.
This commit is contained in:
@@ -349,7 +349,7 @@ var StateManager = {
|
|||||||
for(var k in cost) {
|
for(var k in cost) {
|
||||||
var have = $SM.get('stores["'+k+'"]', true);
|
var have = $SM.get('stores["'+k+'"]', true);
|
||||||
if(have + cost[k] < 0) {
|
if(have + cost[k] < 0) {
|
||||||
ok = false;
|
if(source != 'thieves') ok = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(ok){
|
if(ok){
|
||||||
|
|||||||
Reference in New Issue
Block a user