mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Update client procs.dm
I can't explain exactly why, but switch() responsible for choosing karma_purchase() are parts of an infinite loop I couldn't locate. Return statements break that loop. As far as I can tell, it's not causing any other issues.
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
karma_purchase(karma,45,"job","Magistrate")
|
||||
if("9")
|
||||
karma_purchase(karma,30,"job","Security Pod Pilot")
|
||||
return
|
||||
if(href_list["KarmaBuy2"])
|
||||
var/karma=verify_karma()
|
||||
if(isnull(karma)) //Doesn't display anything if karma database is down.
|
||||
@@ -146,6 +147,7 @@
|
||||
karma_purchase(karma,100,"species","Plasmaman")
|
||||
if("7")
|
||||
karma_purchase(karma,30,"species","Drask")
|
||||
return
|
||||
if(href_list["KarmaRefund"])
|
||||
var/type = href_list["KarmaRefundType"]
|
||||
var/job = href_list["KarmaRefund"]
|
||||
|
||||
Reference in New Issue
Block a user