mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Claw Game Fix 2
People like having multiple claw games, who knew? - Fixes the issue of claw games not closing when multiple are present
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
if(!claw_game_html)
|
||||
claw_game_html = file2text('code/modules/arcade/crane.html')
|
||||
claw_game_html = replacetext(claw_game_html, "/* ref src */", "\ref[src]")
|
||||
|
||||
/obj/machinery/arcade/claw/RefreshParts()
|
||||
var/bin_upgrades = 0
|
||||
@@ -69,7 +68,8 @@
|
||||
user << browse_rsc('page.css')
|
||||
for(var/i=1, i<=img_resources.len, i++)
|
||||
user << browse_rsc(img_resources[i])
|
||||
user << browse(claw_game_html, "window=[window_name];size=700x600")
|
||||
var/my_game_html = replacetext(claw_game_html, "/* ref src */", "\ref[src]")
|
||||
user << browse(my_game_html, "window=[window_name];size=700x600")
|
||||
|
||||
/obj/machinery/arcade/claw/Topic(href, list/href_list)
|
||||
if(..())
|
||||
|
||||
Reference in New Issue
Block a user